-fstack-check on Linux x86--Dumb question...
Geoff Keating
geoffk@cygnus.com
Sat Mar 18 16:27:00 GMT 2000
"George T. Talbot" <george@phat.com> writes:
> <whine>
> It would be a nice patch to GDB and/or GNU/Linux to print:
>
> "Program received SIGSEGV at address 0x2394782 while attempting
> to read from address 0xFDFEFFF."
>
> Right now, it just gives me the program counter. Of course, I'm not really
> sure of how to patch GDB or the kernel to give me such support.
> </whine>
The program 'catchsegv' which comes with GNU libc 2.1 and later does
exactly this.
--
- Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc
mailing list