This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix signull.c compilation problem
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 22 May 2004 15:14:33 +0200 (CEST)
- Subject: [PATCH] Fix signull.c compilation problem
The argument to sigsetjmp() and siglongjmp() is a sigjmp_buf instead
of a jmp_buf argument. They're the same on Linux, but apparently not
on FreeBSD.
Committed as obvious,
Mark
Index: testsuite/ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
Index: testsuite/gdb.base/signull.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/signull.c,v
retrieving revision 1.2
diff -u -p -r1.2 signull.c
--- testsuite/gdb.base/signull.c 20 May 2004 14:58:54 -0000 1.2
+++ testsuite/gdb.base/signull.c 22 May 2004 13:10:30 -0000
@@ -34,7 +34,7 @@ typedef long code_t (void);
static volatile data_t *data[10];
static volatile code_t *code[10];
-jmp_buf env;
+sigjmp_buf env;
extern void
keeper (int sig)