This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: c++/1417: crash when printing variables
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 10 Oct 2003 17:58:00 -0000
- Subject: Re: c++/1417: crash when printing variables
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR c++/1417; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: birgir.sigurjonsson@roxar.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: c++/1417: crash when printing variables
Date: Fri, 10 Oct 2003 13:52:03 -0400
On Fri, Oct 10, 2003 at 01:34:17PM -0400, Daniel Jacobowitz wrote:
> This is a nasty little namespace/nesting bug. The Ptr class inherits
> from another class whose basename is also Ptr. GDB doesn't know that
> they're different and sees a loop.
>
> This will eventually start working. In the meantime, it would be nice
> if GDB didn't crash. I'll post a patch for that.
No, I won't. It's a bit more complicated than I had hoped. Hopefully
for GDB 6.1 we'll have made progress in handling this thouroughly.
David Carlton was doing some work in this area.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer