This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: setting breakpoints with C++ typedef names [was: Re: debug information]
- From: Daniel Jacobowitz <drow at false dot org>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Paul Pogonyshev <pogonyshev at gmx dot net>, libstdc++ at gcc dot gnu dot org, gdb at sourceware dot org
- Date: Wed, 22 Nov 2006 08:35:07 -0500
- Subject: Re: setting breakpoints with C++ typedef names [was: Re: debug information]
- References: <200611191342.48724.pogonyshev@gmx.net> <20061121100701.6b980f48.bkoz@redhat.com> <200611212225.28377.pogonyshev@gmx.net> <20061122130341.a4436ce2.bkoz@redhat.com>
On Wed, Nov 22, 2006 at 01:03:41PM +0100, Benjamin Kosnik wrote:
> I suggest reporting this to the gdb list (gdb@sourceware.org). You
> might want to title that email something like "setting breakpoints with
> C++ typedef names" or something more descriptive. Here, I've done that
> for you.
>
> To me, it looks like enough information is present in the debuginfo to
> support this kind of usage. However, I am no expert in this area.
I don't think that GDB will ever support this. It's one of a batch
of C++ improvements that would be nice to have, but getting it right
would require most of a C++ front end. And for various reasons,
I don't think that reusing the g++ front end would be practical.
We could probably get it to work in strictly limited cases, though.
--
Daniel Jacobowitz
CodeSourcery