GDBserver
|
#include "gdbsupport/break-common.h"
Go to the source code of this file.
Classes | |
struct | x86_dr_low_type |
struct | x86_debug_reg_state |
Macros | |
#define | DR_FIRSTADDR 0 |
#define | DR_LASTADDR 3 |
#define | DR_NADDR 4 /* The number of debug address registers. */ |
#define | DR_STATUS 6 /* Index of debug status register (DR6). */ |
#define | DR_CONTROL 7 /* Index of debug control register (DR7). */ |
#define | ALL_DEBUG_ADDRESS_REGISTERS(i) for (i = DR_FIRSTADDR; i <= DR_LASTADDR; i++) |
Functions | |
struct x86_debug_reg_state * | x86_debug_reg_state (pid_t pid) |
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_remove_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_dr_stopped_by_watchpoint (struct x86_debug_reg_state *state) |
int | x86_dr_stopped_by_hw_breakpoint (struct x86_debug_reg_state *state) |
Variables | |
struct x86_dr_low_type | x86_dr_low |
#define ALL_DEBUG_ADDRESS_REGISTERS | ( | i | ) | for (i = DR_FIRSTADDR; i <= DR_LASTADDR; i++) |
Definition at line 93 of file x86-dregs.h.
Referenced by x86_dr_stopped_by_hw_breakpoint(), x86_dr_stopped_data_address(), x86_insert_aligned_watchpoint(), x86_linux_update_debug_registers(), x86_remove_aligned_watchpoint(), x86_show_dr(), and x86_update_inferior_debug_regs().
#define DR_CONTROL 7 /* Index of debug control register (DR7). */ |
Definition at line 74 of file x86-dregs.h.
Referenced by x86_linux_dr_get_control(), and x86_linux_update_debug_registers().
#define DR_FIRSTADDR 0 |
Definition at line 70 of file x86-dregs.h.
Referenced by x86_linux_dr_get_addr(), and x86_linux_dr_set_addr().
#define DR_LASTADDR 3 |
Definition at line 71 of file x86-dregs.h.
Referenced by x86_linux_dr_get_addr(), and x86_linux_dr_set_addr().
#define DR_NADDR 4 /* The number of debug address registers. */ |
Definition at line 72 of file x86-dregs.h.
Referenced by x86_dr_region_ok_for_watchpoint(), and x86_insert_aligned_watchpoint().
#define DR_STATUS 6 /* Index of debug status register (DR6). */ |
Definition at line 73 of file x86-dregs.h.
Referenced by x86_linux_dr_get_status(), and x86_linux_update_debug_registers().
|
extern |
Referenced by x86_linux_update_debug_registers().
|
extern |
Definition at line 506 of file x86-dregs.c.
References TARGET_HAS_DR_LEN_8, WP_INSERT, x86_handle_nonaligned_watchpoint(), x86_insert_aligned_watchpoint(), x86_length_and_rw_bits(), x86_show_dr(), and x86_update_inferior_debug_regs().
|
extern |
Definition at line 586 of file x86-dregs.c.
References DR_NADDR, WP_COUNT, and x86_handle_nonaligned_watchpoint().
|
extern |
Definition at line 548 of file x86-dregs.c.
References TARGET_HAS_DR_LEN_8, WP_REMOVE, x86_handle_nonaligned_watchpoint(), x86_length_and_rw_bits(), x86_remove_aligned_watchpoint(), x86_show_dr(), and x86_update_inferior_debug_regs().
|
extern |
Definition at line 693 of file x86-dregs.c.
References ALL_DEBUG_ADDRESS_REGISTERS, X86_DR_GET_RW_LEN, x86_dr_low_get_addr(), x86_dr_low_get_control(), x86_dr_low_get_status(), X86_DR_WATCH_HIT, and x86_show_dr().
|
extern |
Definition at line 683 of file x86-dregs.c.
References x86_dr_stopped_data_address().
|
extern |
Definition at line 603 of file x86-dregs.c.
References ALL_DEBUG_ADDRESS_REGISTERS, X86_DR_GET_RW_LEN, x86_dr_low_get_addr(), x86_dr_low_get_control(), x86_dr_low_get_status(), X86_DR_WATCH_HIT, and x86_show_dr().
Referenced by x86_dr_stopped_by_watchpoint().
|
extern |