This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] FreeBSD/alpha ARI fix
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 31 Aug 2003 14:56:45 +0200 (CEST)
- Subject: [PATCH] FreeBSD/alpha ARI fix
The ARI spotted this one.
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
Index: alphafbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alphafbsd-tdep.c,v
retrieving revision 1.10
diff -u -p -r1.10 alphafbsd-tdep.c
--- alphafbsd-tdep.c 11 Jul 2003 21:49:04 -0000 1.10
+++ alphafbsd-tdep.c 31 Aug 2003 12:55:02 -0000
@@ -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. */