* 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-08 10:48 gdb + gcc/g++ 3.x rwilcher
@ 2001-10-08 10:51 ` Daniel Jacobowitz
2001-10-08 13:40 ` Christopher Faylor
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-10-08 10:51 UTC (permalink / raw)
To: rwilcher; +Cc: gdb
On Mon, Oct 08, 2001 at 01:45:58PM -0400, rwilcher wrote:
>
> 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?
The work hasn't been done yet, so there is no expected time. I've been
looking in to some of the problems; I'm sure other people have as well.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gdb + gcc/g++ 3.x
2001-10-08 10:51 ` Daniel Jacobowitz
@ 2001-10-08 13:40 ` Christopher Faylor
2001-10-08 14:15 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2001-10-08 13:40 UTC (permalink / raw)
To: gdb
On Mon, Oct 08, 2001 at 01:51:14PM -0400, Daniel Jacobowitz wrote:
>On Mon, Oct 08, 2001 at 01:45:58PM -0400, rwilcher wrote:
>>
>> 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?
>
>The work hasn't been done yet, so there is no expected time. I've been
>looking in to some of the problems; I'm sure other people have as well.
What are the problems? I use gdb with g++ 3.x output all of the time
with no problems.
There are problems with optimised code but you have to sort of expect
that.
I know that there are some outstanding problems with libstdc++v3 and
gdb but they don't, AFAIK, affect setting breakpoints on lines.
cgf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gdb + gcc/g++ 3.x
2001-10-08 13:40 ` Christopher Faylor
@ 2001-10-08 14:15 ` Daniel Jacobowitz
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-10-08 14:15 UTC (permalink / raw)
To: gdb
On Mon, Oct 08, 2001 at 04:41:35PM -0400, Christopher Faylor wrote:
> On Mon, Oct 08, 2001 at 01:51:14PM -0400, Daniel Jacobowitz wrote:
> >On Mon, Oct 08, 2001 at 01:45:58PM -0400, rwilcher wrote:
> >>
> >> 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?
> >
> >The work hasn't been done yet, so there is no expected time. I've been
> >looking in to some of the problems; I'm sure other people have as well.
>
> What are the problems? I use gdb with g++ 3.x output all of the time
> with no problems.
>
> There are problems with optimised code but you have to sort of expect
> that.
>
> I know that there are some outstanding problems with libstdc++v3 and
> gdb but they don't, AFAIK, affect setting breakpoints on lines.
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.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ 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