[uClibc-cvs] uClibc/libc/sysdeps/linux/arm/sys ucontext.h,1.1,1.2

Erik Andersen andersen at codepoet.org
Mon Apr 21 19:07:29 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/arm/sys
In directory winder:/tmp/cvs-serv18885/sys

Modified Files:
	ucontext.h 
Log Message:
Fix SIGTRAP handling on arm.  The defination of struct ucontext,
which was copied from glibc, is wrong.  So fix it.
 -Erik


Index: ucontext.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/arm/sys/ucontext.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ucontext.h	1 Mar 2002 20:46:01 -0000	1.1
+++ ucontext.h	21 Apr 2003 19:07:26 -0000	1.2
@@ -82,13 +82,12 @@
 
 /* Userlevel context.  */
 typedef struct ucontext
-  {
-    unsigned long int uc_flags;
-    struct ucontext *uc_link;
-    __sigset_t uc_sigmask;
-    stack_t uc_stack;
-    mcontext_t uc_mcontext;
-    long int uc_filler[5];
-  } ucontext_t;
+{
+    unsigned long     uc_flags;
+    struct ucontext  *uc_link;
+    stack_t           uc_stack;
+    struct sigcontext uc_mcontext;
+    sigset_t          uc_sigmask;   /* mask last for extensibility */
+} ucontext_t;
 
 #endif /* sys/ucontext.h */



More information about the uClibc-cvs mailing list