[PATCH] Fix and cleanup libjava/include/dwarf2-signal.h
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Fri Jun 13 12:05:00 GMT 2003
Hi,
the INIT_SEGV and INIT_FPE macros in dwarf2-signal.h are broken for Linux
where the userspace and kernelspace struct sigaction differ. Due to this
the SA_SIGINFO flag is never honored.
The appended patch fixes that and adds a reference to MAKE_THROW_FRAME to
the MD_FALLBACK_FRAME_STATE_FOR documentation. I also took the opportunity
to cleanup, reorder and indent the #if/#elif/#endif maze in
dwarf2-signal.h, as discussed on IRC.
In a followup patch I will add a MAKE_THROW_FRAME for ppc-linux and fix
MD_FALLBACK_FRAME_STATE_FOR in rs6000/linux.h accordingly.
Bootstrapped and regtested on i686-linux.
OK to commit to mainline and 3.3?
Franz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-libjava-2.patch
Type: application/octet-stream
Size: 9094 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030613/4f4715d4/attachment.obj>
More information about the Gcc-patches
mailing list