2003-11-23 Andrew Cagney <cagney@redhat.com>

* frame.c (frame_unwind_signed_register): Delete function.
	* frame.h (frame_unwind_register_signed): Delete declaration.
	* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
This commit is contained in:
Andrew Cagney 2003-11-23 21:49:12 +00:00
parent eec1a5606c
commit dd3ecc148c
4 changed files with 6 additions and 19 deletions

View file

@ -1777,10 +1777,8 @@ mips_frame_saved_pc (struct frame_info *frame)
if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame), 0, 0))
{
LONGEST tmp;
/* Always unwind the cooked PC register value. */
frame_unwind_signed_register (frame, NUM_REGS + PC_REGNUM, &tmp);
saved_pc = tmp;
saved_pc = frame_unwind_register_signed (frame, NUM_REGS + PC_REGNUM);
}
else
{