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++/1069: Issues printing derived objects with gdb


The following reply was made to PR c++/1069; it has been noted by GNATS.

From: Daniel Jacobowitz <drow at mvista dot com>
To: gdb-gnats at sources dot redhat dot com
Cc:  
Subject: RE: c++/1069: Issues printing derived objects with gdb
Date: Mon, 3 Mar 2003 14:55:12 -0500

 Forwarding with permission.  The two attachments are attached to the
 PR.
 
 ----- Forwarded message from Monte Becker <monte at juniper dot net> -----
 
 Date: Wed, 19 Feb 2003 12:30:34 -0500
 From: "Monte Becker" <monte at juniper dot net>
 Subject: RE: c++/1069: Issues printing derived objects with gdb
 To: "Daniel Jacobowitz" <drow at mvista dot com>
 
 
 Daniel,
 
 	The only interesting IP comes from somewhere else anyways, so
 here it is unchanged.
 
 	Compile command is in main.C.  GDB output in in "foo.gdbOutput".  
 It looks like I used this form 
 
 		p b.gen()
 
 	rather then
 
 		p b->gen()
 
 	that caused the core dump.  
 
 		Monte
 
 > -----Original Message-----
 > From: Daniel Jacobowitz [mailto:drow at mvista dot com]
 > Sent: Wednesday, February 19, 2003 12:18 PM
 > To: Monte Becker
 > Subject: Re: c++/1069: Issues printing derived objects with gdb
 > 
 > 
 > On Wed, Feb 19, 2003 at 12:09:56PM -0500, Monte Becker wrote:
 > > 
 > > Daniel,
 > > 
 > > 	I deleted all break points, and then tried again.  I think I
 > > described the problem incorrectly.  It appears that
 > > 
 > > 	1) The print is ignored (no output)
 > > 	2) Program execution resumes (as if cont command used)
 > > 
 > > 	Before, I had a break point at a spot that was called 
 > frequently.
 > > I believe that before I deleted the break points, 1) and 2) 
 > occurred, 
 > > but then the program stopped at the same break point.  
 > (Does that make
 > > since? I can try to be more clear if needed.)
 > 
 > So you call a function, and never get a prompt back - te program
 > resumes?  I'd love to see a testcase for this.
 > 
 > -- 
 > Daniel Jacobowitz
 > MontaVista Software                         Debian GNU/Linux Developer
 > 
 
 
 
 
 ----- End forwarded message -----
 
 -- 
 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]