25#include <unordered_map>
46static std::unordered_map<pid_t,
220 &show_debug_regs, _(
"\
221Set whether to show variables that mirror the x86 debug registers."), _(
"\
222Show whether to show variables that mirror the x86 debug registers."), _(
"\
223Use \"on\" to enable, \"off\" to disable.\n\
224If enabled, the debug registers values are shown when GDB inserts\n\
225or removes a hardware breakpoint or watchpoint, and when the inferior\n\
226triggers a breakpoint or watchpoint."),
240 gdb_assert (len == 4 || len == 8);
struct cmd_list_element * maintenance_show_cmdlist
struct cmd_list_element * maintenance_set_cmdlist
set_show_commands add_setshow_boolean_cmd(const char *name, enum command_class theclass, bool *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
int debug_register_length
int x86_dr_remove_watchpoint(struct x86_debug_reg_state *state, enum target_hw_bp_type type, CORE_ADDR addr, int len)
int x86_dr_stopped_by_hw_breakpoint(struct x86_debug_reg_state *state)
int x86_dr_stopped_by_watchpoint(struct x86_debug_reg_state *state)
int x86_dr_insert_watchpoint(struct x86_debug_reg_state *state, enum target_hw_bp_type type, CORE_ADDR addr, int len)
int x86_dr_region_ok_for_watchpoint(struct x86_debug_reg_state *state, CORE_ADDR addr, int len)
int x86_dr_stopped_data_address(struct x86_debug_reg_state *state, CORE_ADDR *addr_p)
int x86_stopped_by_hw_breakpoint()
static void add_show_debug_regs_command(void)
int x86_insert_watchpoint(CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond)
static std::unordered_map< pid_t, struct x86_debug_reg_state > x86_debug_process_state
struct x86_debug_reg_state * x86_debug_reg_state(pid_t pid)
int x86_stopped_data_address(CORE_ADDR *addr_p)
int x86_remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
void x86_cleanup_dregs(void)
void x86_forget_process(pid_t pid)
struct x86_dr_low_type x86_dr_low
int x86_stopped_by_watchpoint()
int x86_insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
int x86_can_use_hw_breakpoint(enum bptype type, int cnt, int othertype)
int x86_region_ok_for_hw_watchpoint(CORE_ADDR addr, int len)
void x86_set_debug_register_length(int len)
struct x86_debug_reg_state * x86_lookup_debug_reg_state(pid_t pid)
int x86_remove_watchpoint(CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond)