mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
2003-01-13 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with predicate. * gdbarch.h, gdbarch.c: Regenerate. * stack.c (frame_info): Only initialize the saved registers when FRAME_INIT_SAVED_REGS_P. * frame.c (frame_saved_regs_register_unwind): Assert FRAME_INIT_SAVED_REGS_P. (deprecated_generic_get_saved_register): Ditto.
This commit is contained in:
@ -900,7 +900,8 @@ frame_info (char *addr_exp, int from_tty)
|
||||
}
|
||||
}
|
||||
|
||||
if (get_frame_saved_regs (fi) == NULL)
|
||||
if (FRAME_INIT_SAVED_REGS_P ()
|
||||
&& get_frame_saved_regs (fi) == NULL)
|
||||
FRAME_INIT_SAVED_REGS (fi);
|
||||
/* Print as much information as possible on the location of all the
|
||||
registers. */
|
||||
|
Reference in New Issue
Block a user