sigcontext_struct
Andrew Haley
aph@pasanda.cygnus.co.uk
Fri Oct 15 10:12:00 GMT 1999
> Date: Fri, 15 Oct 1999 10:03:07 -0700
> From: Tom Tromey <tromey@cygnus.com>
>
> >>>>> "Jim" == James A Robinson <jim.robinson@stanford.edu> writes:
>
> Jim> Where is the def for sigcontext_struct supposed to come from on a
> Jim> Linux x86 machine? The only place I find it in my 2.2.12 linux
> Jim> tree is the kernel tree's include/asm-ppc/sigcontext.h. I'm
> Jim> trying to compile libgcj, and ran into problems with both the
> Jim> production snapshot and 1999-10-14 compiling prims.cc. =(
>
> Our code currently expects to find this via signal.h.
>
> I'm running a mostly unmodified x86 Debian 2.0.
> I see this in sigcontext.h:
>
> /* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
> we need sigcontext. */
> #define sigcontext_struct sigcontext
Oh, hell, they've changed it.
> Maybe we could include <sigcontext.h> before <signal.h> in
> i386-signal.h and then use sigconext and not sigcontext_struct?
Support for the old sigcontext stuff is dying.
I think that we should drop support for the old sigcontext stuff
altogether and use the newer SystemV siginfo handler instead. I've
already written this, and it's just a matter of checking it in to
sourceware. (Tom: it's in devo/libjava if you want to have a look.)
> Andrew? i386-signal.h mentions iBCS2. What does that have to say on
> this issue? (I don't even know what sort of document that is. Would
> it have anything to say about headers?)
No, it's just the intel Binary Compatibility Standard.
Andrew.
More information about the Java
mailing list