aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-23 21:49:12 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-23 21:49:12 +0000
commitdd3ecc148cfebb49caec91a45d03eae8e28941ec (patch)
tree2e9ae725a38e83795f2a44283eccd28c3a450831 /gdb/mips-tdep.c
parenteec1a5606cc9db951127ba8f8dd21854b9be3cdd (diff)
downloadgdb-dd3ecc148cfebb49caec91a45d03eae8e28941ec.zip
gdb-dd3ecc148cfebb49caec91a45d03eae8e28941ec.tar.gz
gdb-dd3ecc148cfebb49caec91a45d03eae8e28941ec.tar.bz2
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.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 7ee7427..1088cda 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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
{