diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:38:56 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:38:56 +0000 |
commit | e6cf791626ca6945239d5184497d5a83a7419ca8 (patch) | |
tree | b9f4b15d1dfca4389c46f7fcd1b49012bf34bd27 /gdb/gdbarch.h | |
parent | bbcf301ac831ae84e6b9bfc8697d239c245da86b (diff) | |
download | gdb-e6cf791626ca6945239d5184497d5a83a7419ca8.zip gdb-e6cf791626ca6945239d5184497d5a83a7419ca8.tar.gz gdb-e6cf791626ca6945239d5184497d5a83a7419ca8.tar.bz2 |
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
gdbarch_have_nonsteppable_watchpoint.
* infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
gdbarch_cannot_step_breakpoint.
* infrun.c (resume): 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 64c48c7..2446a31 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1076,21 +1076,9 @@ extern void set_gdbarch_name_of_malloc (struct gdbarch *gdbarch, const char * na extern int gdbarch_cannot_step_breakpoint (struct gdbarch *gdbarch); extern void set_gdbarch_cannot_step_breakpoint (struct gdbarch *gdbarch, int cannot_step_breakpoint); -#if !defined (GDB_TM_FILE) && defined (CANNOT_STEP_BREAKPOINT) -#error "Non multi-arch definition of CANNOT_STEP_BREAKPOINT" -#endif -#if !defined (CANNOT_STEP_BREAKPOINT) -#define CANNOT_STEP_BREAKPOINT (gdbarch_cannot_step_breakpoint (current_gdbarch)) -#endif extern int gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch); extern void set_gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch, int have_nonsteppable_watchpoint); -#if !defined (GDB_TM_FILE) && defined (HAVE_NONSTEPPABLE_WATCHPOINT) -#error "Non multi-arch definition of HAVE_NONSTEPPABLE_WATCHPOINT" -#endif -#if !defined (HAVE_NONSTEPPABLE_WATCHPOINT) -#define HAVE_NONSTEPPABLE_WATCHPOINT (gdbarch_have_nonsteppable_watchpoint (current_gdbarch)) -#endif #if defined (ADDRESS_CLASS_TYPE_FLAGS) /* Legacy for systems yet to multi-arch ADDRESS_CLASS_TYPE_FLAGS */ |