43 const unsigned char *
bp;
53 readbuf = (gdb_byte *) alloca (bplen);
121 scoped_restore restore_memory
128 return (val == 0 && memcmp (
bp, cur_contents, bplen) == 0);
const gdb_byte * gdbarch_breakpoint_from_pc(struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
int gdbarch_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
const gdb_byte * gdbarch_sw_breakpoint_from_kind(struct gdbarch *gdbarch, int kind, int *size)
int gdbarch_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
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)
int default_memory_remove_breakpoint(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_insert_breakpoint(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
gdb_byte shadow_contents[BREAKPOINT_MAX]
scoped_restore_tmpl< int > make_scoped_restore_show_memory_breakpoints(int show)
int target_read_memory(CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
int target_write_raw_memory(CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)