41 const unsigned char *bp;
49 error (
_(
"Software breakpoints not implemented for this target."));
56 readbuf = alloca (bplen);
127 ret = (val == 0 && memcmp (bp, cur_contents, bplen) == 0);
struct cleanup * make_show_memory_breakpoints_cleanup(int show)
int gdbarch_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
gdb_byte shadow_contents[BREAKPOINT_MAX]
int target_write_raw_memory(CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)
int gdbarch_memory_remove_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 target_read_memory(CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
const gdb_byte * gdbarch_breakpoint_from_pc(struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
int memory_validate_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)
int default_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
void error(const char *fmt,...)
void do_cleanups(struct cleanup *old_chain)