GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "breakpoint.h"
#include "inferior.h"
#include "target.h"
#include "gdbarch.h"
Go to the source code of this file.
Functions | |
int | default_memory_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int | default_memory_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int | memory_insert_breakpoint (struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int | memory_remove_breakpoint (struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) |
int | memory_validate_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int default_memory_insert_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt ) |
Definition at line 39 of file mem-break.c.
References bp, gdbarch_sw_breakpoint_from_kind(), bp_target_info::kind, bp_target_info::placed_address, bp_target_info::shadow_contents, bp_target_info::shadow_len, target_read_memory(), and target_write_raw_memory().
int default_memory_remove_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt ) |
Definition at line 76 of file mem-break.c.
References gdbarch_sw_breakpoint_from_kind(), bp_target_info::kind, bp_target_info::placed_address, bp_target_info::shadow_contents, and target_write_raw_memory().
int memory_insert_breakpoint | ( | struct target_ops * | ops, |
struct gdbarch * | gdbarch, | ||
struct bp_target_info * | bp_tgt ) |
Definition at line 89 of file mem-break.c.
References gdbarch_memory_insert_breakpoint().
Referenced by remote_target::insert_breakpoint(), memory_breakpoint_target< BaseTarget >::insert_breakpoint(), and set_gdbarch_memory_insert_breakpoint().
int memory_remove_breakpoint | ( | struct target_ops * | ops, |
struct gdbarch * | gdbarch, | ||
struct bp_target_info * | bp_tgt, | ||
enum remove_bp_reason | reason ) |
Definition at line 96 of file mem-break.c.
References gdbarch_memory_remove_breakpoint().
Referenced by remote_target::remove_breakpoint(), memory_breakpoint_target< BaseTarget >::remove_breakpoint(), and set_gdbarch_memory_remove_breakpoint().
int memory_validate_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt ) |
Definition at line 104 of file mem-break.c.
References bp, BREAKPOINT_MAX, gdbarch_breakpoint_from_pc(), make_scoped_restore_show_memory_breakpoints(), bp_target_info::placed_address, and target_read_memory().
Referenced by remove_breakpoint_1().