aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/pa
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-03-19 20:14:01 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-03-19 20:14:01 +0000
commit5ef7553b46b9cacf88508ce2eb42f6f7b70a56ca (patch)
treeb2c5f99799e60219f0645ad3b2c6fe8975f1bddc /gdb/config/pa
parent7bde89676de964a96a4d3d6e2972fca584882afa (diff)
downloadgdb-5ef7553b46b9cacf88508ce2eb42f6f7b70a56ca.zip
gdb-5ef7553b46b9cacf88508ce2eb42f6f7b70a56ca.tar.gz
gdb-5ef7553b46b9cacf88508ce2eb42f6f7b70a56ca.tar.bz2
* hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
method, now that hppa_push_dummy_frame has a conformant prototype. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation for the switch to multiarch partial.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r--gdb/config/pa/tm-hppa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 7ec3c8b..a14be09 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -450,10 +450,10 @@ extern void hppa_frame_find_saved_regs (struct frame_info *,
/* Things needed for making the inferior call functions. */
-/* Push an empty stack frame, to record the current PC, etc. */
-
+#if !GDB_MULTI_ARCH
#define DEPRECATED_PUSH_DUMMY_FRAME hppa_push_dummy_frame ()
extern void hppa_push_dummy_frame (void);
+#endif
/* Discard from the stack the innermost frame,
restoring all saved registers. */