aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:15:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:15:34 +0000
commit91104499cbd9014073c2808f646f967e529b8ec6 (patch)
tree4d10a7c014577c60e68e81a89f9f7616add3fe83 /gdb/gdbarch.h
parent4b2c5b4af619c40b106d43222fbedf380fc16cb7 (diff)
downloadgdb-91104499cbd9014073c2808f646f967e529b8ec6.zip
gdb-91104499cbd9014073c2808f646f967e529b8ec6.tar.gz
gdb-91104499cbd9014073c2808f646f967e529b8ec6.tar.bz2
* gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
* infrun.c (handle_inferior_event): Likewise. * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by gdbarch_get_longjmp_target_p. * breakpoint.c (breakpoint_re_set): Likewise. * infrun.c (handle_inferior_event): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 17ab3be..9e1f700 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -537,30 +537,11 @@ extern void set_gdbarch_cannot_store_register (struct gdbarch *gdbarch, gdbarch_
/* setjmp/longjmp support. */
-#if defined (GET_LONGJMP_TARGET)
-/* Legacy for systems yet to multi-arch GET_LONGJMP_TARGET */
-#if !defined (GET_LONGJMP_TARGET_P)
-#define GET_LONGJMP_TARGET_P() (1)
-#endif
-#endif
-
extern int gdbarch_get_longjmp_target_p (struct gdbarch *gdbarch);
-#if !defined (GDB_TM_FILE) && defined (GET_LONGJMP_TARGET_P)
-#error "Non multi-arch definition of GET_LONGJMP_TARGET"
-#endif
-#if !defined (GET_LONGJMP_TARGET_P)
-#define GET_LONGJMP_TARGET_P() (gdbarch_get_longjmp_target_p (current_gdbarch))
-#endif
typedef int (gdbarch_get_longjmp_target_ftype) (CORE_ADDR *pc);
extern int gdbarch_get_longjmp_target (struct gdbarch *gdbarch, CORE_ADDR *pc);
extern void set_gdbarch_get_longjmp_target (struct gdbarch *gdbarch, gdbarch_get_longjmp_target_ftype *get_longjmp_target);
-#if !defined (GDB_TM_FILE) && defined (GET_LONGJMP_TARGET)
-#error "Non multi-arch definition of GET_LONGJMP_TARGET"
-#endif
-#if !defined (GET_LONGJMP_TARGET)
-#define GET_LONGJMP_TARGET(pc) (gdbarch_get_longjmp_target (current_gdbarch, pc))
-#endif
extern int gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch);
extern void set_gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch, int believe_pcc_promotion);