This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb + gcc/g++ 3.x
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