diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-04-21 19:07:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-04-21 19:07:26 +0000 |
commit | 899f82f681cdff47beeccffbb33f6bab12cb60ae (patch) | |
tree | 59c927f8c24bbf41862520bb1c9f9757d603f305 /libc/sysdeps | |
parent | 080865820280749a0da0a14957ae3da56f88d901 (diff) |
Fix SIGTRAP handling on arm. The defination of struct ucontext,
which was copied from glibc, is wrong. So fix it.
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/arm/sys/ucontext.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/arm/sys/ucontext.h b/libc/sysdeps/linux/arm/sys/ucontext.h index 6d6c8e399..5869edfd4 100644 --- a/libc/sysdeps/linux/arm/sys/ucontext.h +++ b/libc/sysdeps/linux/arm/sys/ucontext.h @@ -82,13 +82,12 @@ typedef struct /* 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 */ |