aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-20 04:24:04 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-20 04:24:04 +0000
commitba886e9d726a0eaf157c2fbdbb26d4cac0b37dbe (patch)
treeec90269b7c35c40683d147227949e4e0c5db1c4f /gdb/inferior.h
parent28ea9521fe2cd3a3fa4e187e3571ac886f444671 (diff)
downloadgdb-ba886e9d726a0eaf157c2fbdbb26d4cac0b37dbe.zip
gdb-ba886e9d726a0eaf157c2fbdbb26d4cac0b37dbe.tar.gz
gdb-ba886e9d726a0eaf157c2fbdbb26d4cac0b37dbe.tar.bz2
* gdbarch.sh: Make multi-arch variable defaults, defaults for non-
multi-arch targets. (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Update. * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default provided by gdbarch. (CALL_DUMMY_P): Add FIXME. gdbarch should provide default. * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 66513b6..6ec78f5 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -426,6 +426,9 @@ extern int attach_flag;
#define CALL_DUMMY_STACK_ADJUST_P (0)
#endif
+/* FIXME: cagney/2000-04-17: gdbarch should manage this. The default
+ shouldn't be necessary. */
+
#if !defined (CALL_DUMMY_P)
#if defined (CALL_DUMMY)
#define CALL_DUMMY_P 1
@@ -434,24 +437,6 @@ extern int attach_flag;
#endif
#endif
-#if !defined (CALL_DUMMY_WORDS)
-#if defined (CALL_DUMMY)
-extern LONGEST call_dummy_words[];
-#define CALL_DUMMY_WORDS (call_dummy_words)
-#else
-#define CALL_DUMMY_WORDS (internal_error ("CALL_DUMMY_WORDS"), (void*) 0)
-#endif
-#endif
-
-#if !defined (SIZEOF_CALL_DUMMY_WORDS)
-#if defined (CALL_DUMMY)
-extern int sizeof_call_dummy_words;
-#define SIZEOF_CALL_DUMMY_WORDS (sizeof_call_dummy_words)
-#else
-#define SIZEOF_CALL_DUMMY_WORDS (internal_error ("SIZEOF_CALL_DUMMY_WORDS"), 0)
-#endif
-#endif
-
#if !defined PUSH_DUMMY_FRAME
#define PUSH_DUMMY_FRAME (internal_error ("PUSH_DUMMY_FRAME"), 0)
#endif