mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
2002-12-11 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_get_frame_saved_regs): Rename get_frame_saved_regs. * frame.h (deprecated_get_frame_saved_regs): Update declaration. * sparc-tdep.c: Update. * hppa-tdep.c: Update. * h8500-tdep.c: Update.
This commit is contained in:
@ -1210,11 +1210,12 @@ sparc_frame_find_saved_regs (struct frame_info *fi, CORE_ADDR *saved_regs_addr)
|
||||
|
||||
/* Discard from the stack the innermost frame, restoring all saved registers.
|
||||
|
||||
Note that the values stored in fsr by get_frame_saved_regs are *in
|
||||
the context of the called frame*. What this means is that the i
|
||||
regs of fsr must be restored into the o regs of the (calling) frame that
|
||||
we pop into. We don't care about the output regs of the calling frame,
|
||||
since unless it's a dummy frame, it won't have any output regs in it.
|
||||
Note that the values stored in fsr by
|
||||
deprecated_get_frame_saved_regs are *in the context of the called
|
||||
frame*. What this means is that the i regs of fsr must be restored
|
||||
into the o regs of the (calling) frame that we pop into. We don't
|
||||
care about the output regs of the calling frame, since unless it's
|
||||
a dummy frame, it won't have any output regs in it.
|
||||
|
||||
We never have to bother with %l (local) regs, since the called routine's
|
||||
locals get tossed, and the calling routine's locals are already saved
|
||||
|
Reference in New Issue
Block a user