diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-31 12:56:42 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-31 12:56:42 +0000 |
commit | bda34dc2c9e8f7a52128439cca8873660a3fee51 (patch) | |
tree | 1017d8cb9c7896002aa8279e98509aba06e97359 /gdb/alphafbsd-tdep.c | |
parent | ac0e732ef3c704379728ee1fdfbb8a298a03528e (diff) | |
download | gdb-bda34dc2c9e8f7a52128439cca8873660a3fee51.zip gdb-bda34dc2c9e8f7a52128439cca8873660a3fee51.tar.gz gdb-bda34dc2c9e8f7a52128439cca8873660a3fee51.tar.bz2 |
* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
Diffstat (limited to 'gdb/alphafbsd-tdep.c')
-rw-r--r-- | gdb/alphafbsd-tdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c index d8f4fa0..cc5f0e0 100644 --- a/gdb/alphafbsd-tdep.c +++ b/gdb/alphafbsd-tdep.c @@ -81,10 +81,7 @@ alphafbsd_sigtramp_offset (CORE_ADDR pc) static CORE_ADDR alphafbsd_sigcontext_addr (struct frame_info *next_frame) { - ULONGEST sp; - - frame_unwind_unsigned_register (next_frame, ALPHA_SP_REGNUM, &sp); - return sp + 24; + return frame_unwind_register_unsigned (next_frame, ALPHA_SP_REGNUM) + 24; } /* FreeBSD 5.0-RELEASE or later. */ |