This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb 6.0
- From: Daniel Jacobowitz <drow at false dot org>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: carlos at baldric dot uwo dot ca, dave dot anglin at nrc-cnrc dot gc dot ca,gdb at sources dot redhat dot com
- Date: Mon, 1 Mar 2004 13:14:17 -0500
- Subject: Re: gdb 6.0
- References: <200403011803.i21I30J6021006@hiauly1.hia.nrc.ca>
On Mon, Mar 01, 2004 at 01:03:00PM -0500, John David Anglin wrote:
> High c.,
>
> Have you started work on gdb? This weekend I was working on a patch
> for the GCC testsuite to make it correctly honor a preexisting
> LD_LIBRARY_PATH. This exposed a couple of problems related to
> dwarf2 exception support (e.g., g++.dg/eh/forced1.C). This test
> passes with sjlj exceptions but fails with dwarf2 exceptions. I
> started trying to debug this but found gdb dumps core trying to
> read the symbol table of libgcc_s.so.2 :(
>
> (gdb) sharedlibr /home/dave/gcc-3.5/objdir/gcc/libgcc_s.so.2
> Reading symbols from /home/dave/gcc-3.5/objdir/gcc/libgcc_s.so.2...done.
> Loaded symbols for /home/dave/gcc-3.5/objdir/gcc/libgcc_s.so.2
> Segmentation fault (core dumped)
GDB 6.0 can't be used with GCC 3.4/3.5, for this exact reason. I think
it's caused by var-tracking; you might be able to turn that off
separately.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer