forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user