From 8da95a3048cad9615e407674f8da4e997eb8752f Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 9 Jun 2007 14:02:39 +0000 Subject: 2007-06-09 Markus Deuling * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by gdbarch_memory_insert_breakpoint. * mem-break.c (memory_insert_breakpoint): Likewise. * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by gdbarch_memory_remove_breakpoint. * mem-break.c (memory_remove_breakpoint): Likewise. * gdbarch.c, gdbarch.h: Regenerate. --- gdb/gdbarch.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gdb/gdbarch.h') diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index c1e9d6e..18e92f8 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -699,22 +699,10 @@ extern void set_gdbarch_adjust_breakpoint_address (struct gdbarch *gdbarch, gdba typedef int (gdbarch_memory_insert_breakpoint_ftype) (struct bp_target_info *bp_tgt); extern int gdbarch_memory_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt); extern void set_gdbarch_memory_insert_breakpoint (struct gdbarch *gdbarch, gdbarch_memory_insert_breakpoint_ftype *memory_insert_breakpoint); -#if !defined (GDB_TM_FILE) && defined (MEMORY_INSERT_BREAKPOINT) -#error "Non multi-arch definition of MEMORY_INSERT_BREAKPOINT" -#endif -#if !defined (MEMORY_INSERT_BREAKPOINT) -#define MEMORY_INSERT_BREAKPOINT(bp_tgt) (gdbarch_memory_insert_breakpoint (current_gdbarch, bp_tgt)) -#endif typedef int (gdbarch_memory_remove_breakpoint_ftype) (struct bp_target_info *bp_tgt); extern int gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt); extern void set_gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, gdbarch_memory_remove_breakpoint_ftype *memory_remove_breakpoint); -#if !defined (GDB_TM_FILE) && defined (MEMORY_REMOVE_BREAKPOINT) -#error "Non multi-arch definition of MEMORY_REMOVE_BREAKPOINT" -#endif -#if !defined (MEMORY_REMOVE_BREAKPOINT) -#define MEMORY_REMOVE_BREAKPOINT(bp_tgt) (gdbarch_memory_remove_breakpoint (current_gdbarch, bp_tgt)) -#endif extern CORE_ADDR gdbarch_decr_pc_after_break (struct gdbarch *gdbarch); extern void set_gdbarch_decr_pc_after_break (struct gdbarch *gdbarch, CORE_ADDR decr_pc_after_break); -- cgit v1.1