summaryrefslogtreecommitdiff
path: root/gdb/config/alpha/tm-alpha.h
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-01-20 00:23:10 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-01-20 00:23:10 +0000
commitf1e99dfa237427417284ec8912ebbb2dece91e72 (patch)
tree0cd0612332494eaf6f9af9afffeea8692bd9a0e7 /gdb/config/alpha/tm-alpha.h
parentf1514bd0ec65d9f81a3b061fe7449eaea9751813 (diff)
downloadgdb-f1e99dfa237427417284ec8912ebbb2dece91e72.tar.gz
* alpha-tdep.c (alpha_call_dummy_words): New.
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove. (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define.
Diffstat (limited to 'gdb/config/alpha/tm-alpha.h')
-rw-r--r--gdb/config/alpha/tm-alpha.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index 84ba3b489fb..b8697680b43 100644
--- a/gdb/config/alpha/tm-alpha.h
+++ b/gdb/config/alpha/tm-alpha.h
@@ -333,14 +333,19 @@ extern void alpha_pop_frame (void);
call_function_by_hand and to avoid zero length array warnings
in valops.c */
-#define CALL_DUMMY { 0 } /* Content doesn't matter. */
+#define CALL_DUMMY_P (1)
+
+#define CALL_DUMMY_WORDS alpha_call_dummy_words
+extern LONGEST alpha_call_dummy_words[];
+
+#define SIZEOF_CALL_DUMMY_WORDS 0
#define CALL_DUMMY_START_OFFSET (0)
#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
-extern CORE_ADDR alpha_call_dummy_address (void);
#define CALL_DUMMY_ADDRESS() alpha_call_dummy_address()
+extern CORE_ADDR alpha_call_dummy_address (void);
/* Insert the specified number of args and function address
into a call sequence of the above form stored at DUMMYNAME.