From: Scott Johnston <scott@accom.com>
To: gdb@sources.redhat.com
Subject: Re: gdb + gcc/g++ 3.x
Date: Wed, 17 Oct 2001 11:59:00 -0000 [thread overview]
Message-ID: <3BCDD4BB.D8799CE9@accom.com> (raw)
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
next reply other threads:[~2001-10-17 11:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 11:59 Scott Johnston [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-08 10:48 rwilcher
2001-10-08 10:51 ` Daniel Jacobowitz
2001-10-08 13:40 ` Christopher Faylor
2001-10-08 14:15 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BCDD4BB.D8799CE9@accom.com \
--to=scott@accom.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox