This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/1417: crash when printing variables


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]