65 for (proc = x86_process_list; proc; proc = proc->
next)
80 proc =
xcalloc (1,
sizeof (*proc));
84 x86_process_list = proc;
124 if (proc->
pid == pid)
126 *proc_link = proc->
next;
132 proc_link = &proc->
next;
262 int type,
int cnt,
int othertype)
274 Set whether to show variables that mirror the x86 debug registers."),
_(
"\
275 Show whether to show variables that mirror the x86 debug registers."),
_(
"\
276 Use \"on\" to enable, \"off\" to disable.\n\
277 If enabled, the debug registers values are shown when GDB inserts\n\
278 or removes a hardware breakpoint or watchpoint, and when the inferior\n\
279 triggers a breakpoint or watchpoint."),
static int x86_can_use_hw_breakpoint(struct target_ops *self, int type, int cnt, int othertype)
static struct x86_process_info * x86_find_process_pid(pid_t pid)
struct x86_process_info * next
static int x86_remove_hw_breakpoint(struct target_ops *self, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
int x86_dr_remove_watchpoint(struct x86_debug_reg_state *state, enum target_hw_bp_type type, CORE_ADDR addr, int len)
int(* to_region_ok_for_hw_watchpoint)(struct target_ops *, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint)
int x86_dr_stopped_data_address(struct x86_debug_reg_state *state, CORE_ADDR *addr_p)
struct cmd_list_element * maintenance_set_cmdlist
int x86_dr_insert_watchpoint(struct x86_debug_reg_state *state, enum target_hw_bp_type type, CORE_ADDR addr, int len)
struct x86_debug_reg_state state
int x86_dr_region_ok_for_watchpoint(struct x86_debug_reg_state *state, CORE_ADDR addr, int len)
int(* to_insert_watchpoint)(struct target_ops *, CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(-1)
static int x86_stopped_by_watchpoint(struct target_ops *ops)
static struct x86_process_info * x86_process_list
int(* to_remove_watchpoint)(struct target_ops *, CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(-1)
static struct x86_process_info * x86_add_process(pid_t pid)
static int x86_stopped_data_address(struct target_ops *ops, CORE_ADDR *addr_p)
struct x86_debug_reg_state * x86_debug_reg_state(pid_t pid)
int x86_dr_stopped_by_watchpoint(struct x86_debug_reg_state *state)
int(* to_insert_hw_breakpoint)(struct target_ops *, struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
int ptid_get_pid(ptid_t ptid)
struct x86_dr_low_type x86_dr_low
static struct x86_process_info * x86_process_info_get(pid_t pid)
int(* to_remove_hw_breakpoint)(struct target_ops *, struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
void x86_forget_process(pid_t pid)
int(* to_can_use_hw_breakpoint)(struct target_ops *, int, int, int) TARGET_DEFAULT_RETURN(0)
static int x86_region_ok_for_watchpoint(struct target_ops *self, CORE_ADDR addr, int len)
static int x86_insert_watchpoint(struct target_ops *self, CORE_ADDR addr, int len, int type, struct expression *cond)
static int x86_insert_hw_breakpoint(struct target_ops *self, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
int(* to_stopped_by_watchpoint)(struct target_ops *) TARGET_DEFAULT_RETURN(0)
static void add_show_debug_regs_command(void)
static int x86_remove_watchpoint(struct target_ops *self, CORE_ADDR addr, int len, int type, struct expression *cond)
int to_have_continuable_watchpoint
void x86_set_debug_register_length(int len)
int debug_register_length
void x86_use_watchpoints(struct target_ops *t)
int(* to_stopped_data_address)(struct target_ops *, CORE_ADDR *) TARGET_DEFAULT_RETURN(0)
void x86_cleanup_dregs(void)
PTR xcalloc(size_t number, size_t size)
struct cmd_list_element * maintenance_show_cmdlist
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int int rusage_t pid_t pid
void add_setshow_boolean_cmd(const char *name, enum command_class theclass, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list)
const ULONGEST const LONGEST len