aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-07 14:55:59 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-07 14:55:59 +0000
commitc69b8bfcf66dafe950e14042f8bb1220c7c5fc69 (patch)
tree1f328fb71bb17a2d5df2783fcad8e78341431bd1 /gdb/gdbarch.h
parent1b169501041265759403c962a5b0a23c66716f9c (diff)
downloadfsf-binutils-gdb-c69b8bfcf66dafe950e14042f8bb1220c7c5fc69.zip
fsf-binutils-gdb-c69b8bfcf66dafe950e14042f8bb1220c7c5fc69.tar.gz
fsf-binutils-gdb-c69b8bfcf66dafe950e14042f8bb1220c7c5fc69.tar.bz2
2004-05-07 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with macro defined to 1. * gdbarch.h, gdbarch.c: Re-generate. * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated_use_generic_dummy_frames.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 660c68f..9054575 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -52,6 +52,8 @@ struct obstack;
extern struct gdbarch *current_gdbarch;
+/* Always one, being eliminated. */
+#define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 1
/* If any of the following are defined, the target wasn't correctly
converted. */
@@ -753,17 +755,6 @@ extern void set_gdbarch_deprecated_push_arguments (struct gdbarch *gdbarch, gdba
#define DEPRECATED_PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) (gdbarch_deprecated_push_arguments (current_gdbarch, nargs, args, sp, struct_return, struct_addr))
#endif
-/* DEPRECATED_USE_GENERIC_DUMMY_FRAMES can be deleted. Always true. */
-
-extern int gdbarch_deprecated_use_generic_dummy_frames (struct gdbarch *gdbarch);
-extern void set_gdbarch_deprecated_use_generic_dummy_frames (struct gdbarch *gdbarch, int deprecated_use_generic_dummy_frames);
-#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
-#error "Non multi-arch definition of DEPRECATED_USE_GENERIC_DUMMY_FRAMES"
-#endif
-#if !defined (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
-#define DEPRECATED_USE_GENERIC_DUMMY_FRAMES (gdbarch_deprecated_use_generic_dummy_frames (current_gdbarch))
-#endif
-
/* Implement PUSH_RETURN_ADDRESS, and then merge in
DEPRECATED_PUSH_RETURN_ADDRESS. */