[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sigsegv: Document context type for DragonFly BSD
From: |
Bruno Haible |
Subject: |
sigsegv: Document context type for DragonFly BSD |
Date: |
Tue, 08 Jun 2021 03:24:25 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) |
On DragonFly BSD, sigsegv.c uses a 'struct sigcontext *'. This won't change
soon, since DragonFly BSD supports only one architecture: x86_64.
2021-06-07 Bruno Haible <bruno@clisp.org>
sigsegv: Document context type for DragonFly BSD.
* lib/sigsegv.in.h (stackoverflow_context_t): On DragonFly BSD, it is a
pointer to 'struct sigcontext'.
diff --git a/lib/sigsegv.in.h b/lib/sigsegv.in.h
index e442f4d..9253766 100644
--- a/lib/sigsegv.in.h
+++ b/lib/sigsegv.in.h
@@ -186,7 +186,7 @@ extern int sigsegv_leave_handler (void (*continuation)
(void*, void*, void*), vo
|| defined __CYGWIN__ || defined __HAIKU__
typedef ucontext_t *stackoverflow_context_t;
# elif defined __GNU__ \
- || defined __FreeBSD_kernel__ || (defined __FreeBSD__ && !(defined
__sparc__ || defined __sparc64__)) \
+ || defined __FreeBSD_kernel__ || (defined __FreeBSD__ && !(defined
__sparc__ || defined __sparc64__)) || defined __DragonFly__ \
|| defined __OpenBSD__ || defined __sgi
typedef struct sigcontext *stackoverflow_context_t;
# else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sigsegv: Document context type for DragonFly BSD,
Bruno Haible <=