GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | arch_lwp_info |
Macros | |
#define | AARCH64_DEBUG_NUM_SLOTS(x) ((x) & 0xff) |
#define | AARCH64_DEBUG_ARCH(x) (((x) >> 8) & 0xff) |
#define | DR_MARK_ALL_CHANGED(x, m) |
#define | DR_MARK_N_CHANGED(x, n) |
#define | DR_CLEAR_CHANGED(x) |
#define | DR_HAS_CHANGED(x) ((x) != 0) |
#define | DR_N_HAS_CHANGED(x, n) ((x) & ((dr_changed_t)1 << (n))) |
Typedefs | |
typedef ULONGEST | dr_changed_t |
Functions | |
void | aarch64_linux_set_debug_regs (struct aarch64_debug_reg_state *state, int tid, int watchpoint) |
void | aarch64_linux_get_debug_reg_capacity (int tid) |
struct aarch64_debug_reg_state * | aarch64_get_debug_reg_state (pid_t pid) |
Variables | |
bool | kernel_supports_any_contiguous_range |
#define AARCH64_DEBUG_ARCH | ( | x | ) | (((x) >> 8) & 0xff) |
Definition at line 36 of file aarch64-linux-hw-point.h.
Referenced by aarch64_linux_get_debug_reg_capacity().
#define AARCH64_DEBUG_NUM_SLOTS | ( | x | ) | ((x) & 0xff) |
Definition at line 35 of file aarch64-linux-hw-point.h.
Referenced by aarch64_linux_get_debug_reg_capacity().
#define DR_CLEAR_CHANGED | ( | x | ) |
Definition at line 76 of file aarch64-linux-hw-point.h.
Referenced by aarch64_linux_prepare_to_resume().
#define DR_HAS_CHANGED | ( | x | ) | ((x) != 0) |
Definition at line 82 of file aarch64-linux-hw-point.h.
Referenced by aarch64_linux_prepare_to_resume().
#define DR_MARK_ALL_CHANGED | ( | x, | |
m ) |
Definition at line 63 of file aarch64-linux-hw-point.h.
Referenced by aarch64_linux_new_thread().
#define DR_MARK_N_CHANGED | ( | x, | |
n ) |
Definition at line 70 of file aarch64-linux-hw-point.h.
Referenced by debug_reg_change_callback().
#define DR_N_HAS_CHANGED | ( | x, | |
n ) ((x) & ((dr_changed_t)1 << (n))) |
Definition at line 83 of file aarch64-linux-hw-point.h.
typedef ULONGEST dr_changed_t |
Definition at line 59 of file aarch64-linux-hw-point.h.
struct aarch64_debug_reg_state * aarch64_get_debug_reg_state | ( | pid_t | pid | ) |
Definition at line 51 of file aarch64-nat.c.
References aarch64_debug_process_state, and pid.
Referenced by aarch64_insert_hw_breakpoint(), aarch64_insert_watchpoint(), aarch64_linux_new_thread(), aarch64_linux_prepare_to_resume(), aarch64_remove_hw_breakpoint(), aarch64_remove_watchpoint(), aarch64_linux_nat_target::low_new_fork(), and aarch64_linux_nat_target::stopped_data_address().
void aarch64_linux_get_debug_reg_capacity | ( | int | tid | ) |
Definition at line 247 of file aarch64-linux-hw-point.c.
References AARCH64_DEBUG_ARCH, AARCH64_DEBUG_NUM_SLOTS, AARCH64_HBP_MAX_NUM, AARCH64_HWP_MAX_NUM, aarch64_num_bp_regs, aarch64_num_wp_regs, compatible_debug_arch(), ptrace, and PTRACE_GETREGSET.
Referenced by aarch64_linux_nat_target::post_attach(), and aarch64_linux_nat_target::post_startup_inferior().
void aarch64_linux_set_debug_regs | ( | struct aarch64_debug_reg_state * | state, |
int | tid, | ||
int | watchpoint ) |
Definition at line 179 of file aarch64-linux-hw-point.c.
References aarch64_downgrade_regs(), aarch64_linux_set_debug_regs(), aarch64_num_bp_regs, aarch64_num_wp_regs, aarch64_debug_reg_state::dr_addr_bp, aarch64_debug_reg_state::dr_addr_wp, aarch64_debug_reg_state::dr_ctrl_bp, aarch64_debug_reg_state::dr_ctrl_wp, kernel_supports_any_contiguous_range, ptrace, and PTRACE_SETREGSET.
Referenced by aarch64_linux_prepare_to_resume(), and aarch64_linux_set_debug_regs().
|
extern |
Definition at line 39 of file aarch64-linux-hw-point.c.
Referenced by aarch64_linux_set_debug_regs().