From b798847d060c439bc350e5fbaf6e8d315b18c727 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 9 Jun 2007 13:55:51 +0000 Subject: 2007-06-09 Markus Deuling * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by gdbarch_decr_pc_after_break. * tracepoint.c (trace_dump_command): Likewise. * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. * linux-thread-db.c (check_event): Likewise. * linux-nat.c (cancel_breakpoints_callback): Likewise. * infrun.c (adjust_pc_after_break, normal_stop): Likewise. * frame.h: Likewise (comment). * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. * aix-thread.c (aix_thread_wait): Likewise. * gdbarch.c, gdbarch.h: Regenerate. --- gdb/gdbarch.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/gdbarch.h') diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 1632a5b..e195f8a 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -718,12 +718,6 @@ extern void set_gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, gdbar 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); -#if !defined (GDB_TM_FILE) && defined (DECR_PC_AFTER_BREAK) -#error "Non multi-arch definition of DECR_PC_AFTER_BREAK" -#endif -#if !defined (DECR_PC_AFTER_BREAK) -#define DECR_PC_AFTER_BREAK (gdbarch_decr_pc_after_break (current_gdbarch)) -#endif /* A function can be addressed by either it's "pointer" (possibly a descriptor address) or "entry point" (first executable instruction). -- cgit v1.1