* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
authorMark Kettenis <kettenis@gnu.org>
Sun, 31 Aug 2003 12:56:42 +0000 (12:56 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 31 Aug 2003 12:56:42 +0000 (12:56 +0000)
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.

gdb/ChangeLog
gdb/alphafbsd-tdep.c

index fb4ed6fefcab8156060fd26e46cba294f71fa658..99805b582d7ff08f8d09a59d9dc8ff1b0324121a 100644 (file)
@@ -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.
index d8f4fa039c31dd15dcde50f5e6cb2b30e4337e5d..cc5f0e00e55e0d4bf928cfb1540e5375d1d5f7fd 100644 (file)
@@ -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.  */