From 899f82f681cdff47beeccffbb33f6bab12cb60ae Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 21 Apr 2003 19:07:26 +0000 Subject: Fix SIGTRAP handling on arm. The defination of struct ucontext, which was copied from glibc, is wrong. So fix it. -Erik --- libc/sysdeps/linux/arm/sys/ucontext.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libc/sysdeps/linux/arm/sys') 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 */ -- cgit v1.2.3