From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: gdb + gcc/g++ 3.x Date: Mon, 08 Oct 2001 14:15:00 -0000 Message-id: <20011008171525.A6475@nevyn.them.org> References: <3BC1E656.7F705DA7@cisco.com> <20011008135114.A6657@nevyn.them.org> <20011008164135.A20141@redhat.com> X-SW-Source: 2001-10/msg00085.html On Mon, Oct 08, 2001 at 04:41:35PM -0400, Christopher Faylor wrote: > On Mon, Oct 08, 2001 at 01:51:14PM -0400, Daniel Jacobowitz wrote: > >On Mon, Oct 08, 2001 at 01:45:58PM -0400, rwilcher wrote: > >> > >> When will you be able to use gdb with G++ 3.x? Anyone know when > >> the line number/breakpoint setting will work? is there a patch? > > > >The work hasn't been done yet, so there is no expected time. I've been > >looking in to some of the problems; I'm sure other people have as well. > > What are the problems? I use gdb with g++ 3.x output all of the time > with no problems. > > There are problems with optimised code but you have to sort of expect > that. > > I know that there are some outstanding problems with libstdc++v3 and > gdb but they don't, AFAIK, affect setting breakpoints on lines. gdb often can not display classes compiled with g++; I'm not sure exactly where the problem is, but I expect someone will chime in with it. There's also some namespace problems which require a little DWARF2 work that no one has yet committed, I think. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer