Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb + gcc/g++ 3.x
@ 2001-10-08 10:48 rwilcher
  2001-10-08 10:51 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: rwilcher @ 2001-10-08 10:48 UTC (permalink / raw)
  To: gdb

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?



-- 
---
"There is no statute of limitations on stupidity."       
rwilcher@cisco.com 
Randomly produced by a computer program                      
called Markov3.                                     
Roland A.
Wilcher                                                           
----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: gdb + gcc/g++ 3.x
@ 2001-10-17 11:59 Scott Johnston
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Johnston @ 2001-10-17 11:59 UTC (permalink / raw)
  To: gdb

References: < 3BC1E656.7F705DA7@cisco.com >
< 20011008135114.A6657@nevyn.them.org > < 20011008164135.A20141@redhat.com >

On  Mon, 8 Oct 2001 17:15:25 -0400,  Daniel Jacobowitz  wrote:

> 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.

De-referencing a pointer (for the gdb print command) to a C++ class
instance yields a message "Value can't be converted to integer."

Setting a breakpoint by line-number (used by emacs M-x gud-break)
yields a "No line <n> in file "<file>". where <n> and <file> are
accurate.

Verified on gdb 2001-10-12-cvs built with gcc-3.0.1 on RH Linux 6.2
using "set extension-language .c c++".  C++ source code compiled by
gcc-3.0.1 with  -g -O2 -fPIC  -Wno-deprecated.

Scott Johnston



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-17 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08 10:48 gdb + gcc/g++ 3.x rwilcher
2001-10-08 10:51 ` Daniel Jacobowitz
2001-10-08 13:40   ` Christopher Faylor
2001-10-08 14:15     ` Daniel Jacobowitz
2001-10-17 11:59 Scott Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox