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 | 08b8ce1f482c2f04fcb41f13b2a113f0bacfca69 (patch) | |
tree | 407b7f42cc082307a484a5d2e3e63f119b4318ee /gdb | |
parent | be33c85a6a68e964cc7eea51cbfa8f8ae6856b1b (diff) | |
download | gdb-08b8ce1f482c2f04fcb41f13b2a113f0bacfca69.tar.gz |
* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/alphafbsd-tdep.c | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fb4ed6fefca..99805b582d7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-08-31 Mark Kettenis <kettenis@gnu.org> + + * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use + frame_unwind_register_unsigned instead of + frame_unwind_unsigned_register. + 2003-08-30 Mark Kettenis <kettenis@gnu.org> * configure.in: Search for gethostbyname in libnsl. diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c index d8f4fa039c3..cc5f0e00e55 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. */ |