diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 14:02:39 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 14:02:39 +0000 |
commit | 8da95a3048cad9615e407674f8da4e997eb8752f (patch) | |
tree | f763a2a2f5b9bf5c3500e5905875fb6b49fac55b /gdb/gdbarch.h | |
parent | 985969a94f02c64a2e8ff4b0afd8378ed09fca5e (diff) | |
download | gdb-8da95a3048cad9615e407674f8da4e997eb8752f.zip gdb-8da95a3048cad9615e407674f8da4e997eb8752f.tar.gz gdb-8da95a3048cad9615e407674f8da4e997eb8752f.tar.bz2 |
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* 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.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 12 |
1 files changed, 0 insertions, 12 deletions
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); |