GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
aarch64-nat.c File Reference
#include "defs.h"
#include "gdbarch.h"
#include "inferior.h"
#include "cli/cli-cmds.h"
#include "aarch64-nat.h"
#include <unordered_map>

Go to the source code of this file.

Functions

struct aarch64_debug_reg_stateaarch64_lookup_debug_reg_state (pid_t pid)
 
struct aarch64_debug_reg_stateaarch64_get_debug_reg_state (pid_t pid)
 
void aarch64_remove_debug_reg_state (pid_t pid)
 
int aarch64_can_use_hw_breakpoint (enum bptype type, int cnt, int othertype)
 
int aarch64_insert_hw_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
int aarch64_remove_hw_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
int aarch64_insert_watchpoint (CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond)
 
int aarch64_remove_watchpoint (CORE_ADDR addr, int len, enum target_hw_bp_type type, struct expression *cond)
 
bool aarch64_stopped_data_address (const struct aarch64_debug_reg_state *state, CORE_ADDR addr_trap, CORE_ADDR *addr_p)
 
static void add_show_debug_regs_command (void)
 
void aarch64_initialize_hw_point ()
 

Variables

static std::unordered_map< pid_t, aarch64_debug_reg_stateaarch64_debug_process_state
 

Function Documentation

◆ aarch64_can_use_hw_breakpoint()

int aarch64_can_use_hw_breakpoint ( enum bptype type,
int cnt,
int othertype )

◆ aarch64_get_debug_reg_state()

struct aarch64_debug_reg_state * aarch64_get_debug_reg_state ( pid_t pid)

◆ aarch64_initialize_hw_point()

void aarch64_initialize_hw_point ( )

◆ aarch64_insert_hw_breakpoint()

int aarch64_insert_hw_breakpoint ( struct gdbarch * gdbarch,
struct bp_target_info * bp_tgt )

◆ aarch64_insert_watchpoint()

int aarch64_insert_watchpoint ( CORE_ADDR addr,
int len,
enum target_hw_bp_type type,
struct expression * cond )

◆ aarch64_lookup_debug_reg_state()

struct aarch64_debug_reg_state * aarch64_lookup_debug_reg_state ( pid_t pid)

Definition at line 39 of file aarch64-nat.c.

References aarch64_debug_process_state, and pid.

◆ aarch64_remove_debug_reg_state()

void aarch64_remove_debug_reg_state ( pid_t pid)

Definition at line 59 of file aarch64-nat.c.

References aarch64_debug_process_state, and pid.

Referenced by aarch64_linux_nat_target::low_forget_process().

◆ aarch64_remove_hw_breakpoint()

int aarch64_remove_hw_breakpoint ( struct gdbarch * gdbarch,
struct bp_target_info * bp_tgt )

◆ aarch64_remove_watchpoint()

int aarch64_remove_watchpoint ( CORE_ADDR addr,
int len,
enum target_hw_bp_type type,
struct expression * cond )

◆ aarch64_stopped_data_address()

bool aarch64_stopped_data_address ( const struct aarch64_debug_reg_state * state,
CORE_ADDR addr_trap,
CORE_ADDR * addr_p )

◆ add_show_debug_regs_command()

static void add_show_debug_regs_command ( void )
static

Variable Documentation

◆ aarch64_debug_process_state

std::unordered_map<pid_t, aarch64_debug_reg_state> aarch64_debug_process_state
static