diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-23 21:49:12 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-23 21:49:12 +0000 |
commit | dd3ecc148cfebb49caec91a45d03eae8e28941ec (patch) | |
tree | 2e9ae725a38e83795f2a44283eccd28c3a450831 /gdb/mips-tdep.c | |
parent | eec1a5606cc9db951127ba8f8dd21854b9be3cdd (diff) | |
download | gdb-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.c | 4 |
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 { |