GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "breakpoint.h"
#include "inferior.h"
#include "target.h"
#include "gdb_string.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 gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int | memory_remove_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 40 of file mem-break.c.
References _, error(), gdbarch_breakpoint_from_pc(), memcpy(), bp_target_info::placed_address, bp_target_info::placed_size, bp_target_info::shadow_contents, bp_target_info::shadow_len, target_read_memory(), and target_write_raw_memory().
Referenced by gdbarch_alloc().
int default_memory_remove_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt | ||
) |
Definition at line 71 of file mem-break.c.
References bp_target_info::placed_address, bp_target_info::placed_size, bp_target_info::shadow_contents, and target_write_raw_memory().
Referenced by gdbarch_alloc(), and spu_memory_remove_breakpoint().
int memory_insert_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt | ||
) |
Definition at line 80 of file mem-break.c.
References gdbarch_memory_insert_breakpoint().
Referenced by inf_child_target(), init_gdbsim_ops(), init_go32_ops(), init_windows_ops(), remote_insert_breakpoint(), set_gdbarch_memory_insert_breakpoint(), and update_current_target().
int memory_remove_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt | ||
) |
Definition at line 87 of file mem-break.c.
References gdbarch_memory_remove_breakpoint().
Referenced by inf_child_target(), init_gdbsim_ops(), init_go32_ops(), init_windows_ops(), remote_remove_breakpoint(), set_gdbarch_memory_remove_breakpoint(), and update_current_target().