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:
Andrew Cagney
2002-12-11 20:35:43 +00:00
parent 321432c0c6
commit 95486978f3
6 changed files with 27 additions and 17 deletions

View File

@ -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