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

@ -663,15 +663,6 @@ get_frame_register_unsigned (struct frame_info *frame, int regnum)
return frame_unwind_register_unsigned (frame->next, regnum);
}
void
frame_unwind_signed_register (struct frame_info *frame, int regnum,
LONGEST *val)
{
char buf[MAX_REGISTER_SIZE];
frame_unwind_register (frame, regnum, buf);
(*val) = extract_signed_integer (buf, DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum));
}
void
frame_unwind_unsigned_register (struct frame_info *frame, int regnum,
ULONGEST *val)