This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
core dump from GNU/Linux <sys/procfs.h>; Was: Build failure on Linux/i686
- To: Mark Kettenis <kettenis at wins dot uva dot nl>
- Subject: core dump from GNU/Linux <sys/procfs.h>; Was: Build failure on Linux/i686
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 11 Feb 2000 11:11:47 +1100
- CC: aj at suse dot de, gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <u8d7q4j4df.fsf@gromit.rhein-neckar.de> <200002101919.UAA23595@landau.wins.uva.nl>
Mark Kettenis wrote:
> This is the solution I proposed:
>
> http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00103.html
>
> Note that you'll need to patch <sys/procfs.h> too, otherwise GDB will
> segfault when you try to debug a multithreaded app!
Um, can you expand on this a little? (You may have already).
If there is a header file found in a standard GNU/Linux distribution
that can cause GDB to dump core we're going to need some sort of evasive
action. Sigh.
Andrew