This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] ia64-linux-tdep.c: Revise IA64_LINUX_SIGCONTEXT_OFFSET


I've just committed the patch below:

	* ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET):  Revise to
	match the location at which the kernel is placing the sigcontext
	struct.

Index: ia64-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-linux-tdep.c,v
retrieving revision 1.2
diff -u -p -r1.2 ia64-linux-tdep.c
--- ia64-linux-tdep.c	2000/04/26 07:16:15	1.2
+++ ia64-linux-tdep.c	2001/06/01 01:03:04
@@ -31,7 +31,7 @@
 #define GATE_AREA_END   0xa000000000010000LL
 
 /* Offset to sigcontext structure from frame of handler */
-#define IA64_LINUX_SIGCONTEXT_OFFSET 160
+#define IA64_LINUX_SIGCONTEXT_OFFSET 192
 
 int
 ia64_linux_in_sigtramp (CORE_ADDR pc, char *func_name)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]