GDBserver
Functions
/home/stan/gdb/src/gdb/gdbserver/mem-break.h File Reference

Go to the source code of this file.

Functions

struct breakpointfind_gdb_breakpoint_at (CORE_ADDR where)
int set_gdb_breakpoint_at (CORE_ADDR where)
int breakpoint_here (CORE_ADDR addr)
int breakpoint_inserted_here (CORE_ADDR addr)
void clear_gdb_breakpoint_conditions (CORE_ADDR addr)
int add_breakpoint_condition (CORE_ADDR addr, char **condition)
int add_breakpoint_commands (CORE_ADDR addr, char **commands, int persist)
int any_persistent_commands (void)
int gdb_condition_true_at_breakpoint (CORE_ADDR where)
int gdb_no_commands_at_breakpoint (CORE_ADDR where)
void run_breakpoint_commands (CORE_ADDR where)
int gdb_breakpoint_here (CORE_ADDR where)
struct breakpointset_breakpoint_at (CORE_ADDR where, int(*handler)(CORE_ADDR))
int delete_gdb_breakpoint_at (CORE_ADDR addr)
int delete_breakpoint (struct breakpoint *bkpt)
void set_reinsert_breakpoint (CORE_ADDR stop_at)
void delete_reinsert_breakpoints (void)
void reinsert_breakpoints_at (CORE_ADDR where)
void uninsert_breakpoints_at (CORE_ADDR where)
void reinsert_all_breakpoints (void)
void uninsert_all_breakpoints (void)
void check_breakpoints (CORE_ADDR stop_pc)
void check_mem_read (CORE_ADDR mem_addr, unsigned char *buf, int mem_len)
void check_mem_write (CORE_ADDR mem_addr, unsigned char *buf, const unsigned char *myaddr, int mem_len)
void set_breakpoint_data (const unsigned char *bp_data, int bp_len)
void delete_all_breakpoints (void)
void mark_breakpoints_out (struct process_info *proc)
void free_all_breakpoints (struct process_info *proc)
void validate_breakpoints (void)
struct fast_tracepoint_jumpset_fast_tracepoint_jump (CORE_ADDR where, unsigned char *insn, ULONGEST length)
void inc_ref_fast_tracepoint_jump (struct fast_tracepoint_jump *jp)
int delete_fast_tracepoint_jump (struct fast_tracepoint_jump *todel)
int fast_tracepoint_jump_here (CORE_ADDR)
void uninsert_fast_tracepoint_jumps_at (CORE_ADDR pc)
void reinsert_fast_tracepoint_jumps_at (CORE_ADDR where)

Function Documentation

int add_breakpoint_commands ( CORE_ADDR  addr,
char **  commands,
int  persist 
)
int add_breakpoint_condition ( CORE_ADDR  addr,
char **  condition 
)
int any_persistent_commands ( void  )
int breakpoint_here ( CORE_ADDR  addr)

Definition at line 1170 of file mem-break.c.

References find_raw_breakpoint_at().

Referenced by linux_wait_1(), and need_step_over_p().

void check_breakpoints ( CORE_ADDR  stop_pc)
void check_mem_read ( CORE_ADDR  mem_addr,
unsigned char *  buf,
int  mem_len 
)
void check_mem_write ( CORE_ADDR  mem_addr,
unsigned char *  buf,
const unsigned char *  myaddr,
int  mem_len 
)
void delete_all_breakpoints ( void  )

Definition at line 1412 of file mem-break.c.

References process_info::breakpoints, current_process(), and delete_breakpoint_1().

int delete_breakpoint ( struct breakpoint bkpt)
void delete_reinsert_breakpoints ( void  )

Definition at line 290 of file mem-break.c.

References find_fast_tracepoint_jump_at().

Referenced by need_step_over_p().

struct breakpoint* find_gdb_breakpoint_at ( CORE_ADDR  where) [read]
void free_all_breakpoints ( struct process_info proc)

Definition at line 1435 of file mem-break.c.

References process_info::breakpoints, delete_breakpoint_1(), and mark_breakpoints_out().

Referenced by remove_process().

Definition at line 361 of file mem-break.c.

References fast_tracepoint_jump::refcount.

Referenced by clone_fast_tracepoint().

void mark_breakpoints_out ( struct process_info proc)
void reinsert_all_breakpoints ( void  )

Definition at line 1096 of file mem-break.c.

References debug_threads, find_raw_breakpoint_at(), paddress(), and reinsert_raw_breakpoint().

Referenced by finish_step_over().

struct breakpoint* set_breakpoint_at ( CORE_ADDR  where,
int(*)(CORE_ADDR handler 
) [read]
void set_breakpoint_data ( const unsigned char *  bp_data,
int  bp_len 
)

Definition at line 1163 of file mem-break.c.

References breakpoint_data, and breakpoint_len.

Referenced by initialize_low().

struct fast_tracepoint_jump* set_fast_tracepoint_jump ( CORE_ADDR  where,
unsigned char *  insn,
ULONGEST  length 
) [read]

Definition at line 980 of file mem-break.c.

References reinsert_breakpoint, set_breakpoint_at(), and breakpoint::type.

Referenced by start_step_over().

void uninsert_all_breakpoints ( void  )
void validate_breakpoints ( void  )
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines