sigcontext/mcontext cleanup for arch-specific bits
authorRich Felker <dalias@aerifal.cx>
Fri, 23 Nov 2012 19:35:25 +0000 (14:35 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 23 Nov 2012 19:35:25 +0000 (14:35 -0500)
with these changes, the members/types of mcontext_t and related stuff
should closely match the glibc definitions. unlike glibc, however, the
definitions here avoid using typedefs as much as possible and work
directly with the underlying types, to minimize namespace pollution
from signal.h in the default (_BSD_SOURCE) profile.

this is a first step in improving compatibility with applications
which poke at context/register information -- mainly debuggers, trace
utilities, etc. additional definitions in ucontext.h and other headers
may be needed later.

if feature test macros are used to request a conforming namespace,
mcontext_t is replaced with an opaque structure of the equivalent size
and alignment; conforming programs cannot examine its contents anyway.


No differences found