Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Berlin <dan@cgsoftware.com>
To: dany_100@yahoo.com
Cc: gdb@sourceware.cygnus.com
Subject: Re: Referencing C++ functions with non-demangled names.
Date: Tue, 22 May 2001 06:29:00 -0000	[thread overview]
Message-ID: <87zoc5sebq.fsf@dynamic-addr-83-177.resnet.rochester.edu> (raw)
In-Reply-To: <3B0A6656.20605.AA051@localhost>

"Daniel Manfis" <dany_100@yahoo.com> writes:

> > Errr, I need a test case, it works fine here.
> > I also need to know what compiler version, etc, you are using.
> 
> linux : Mandrake 7.2 (kernel 2.2.17-21mdk)
> gcc   : 3.0, snapshot 20010423
> gdb   : 5.0 (RPM from/for Mandrake 7.2)

You can't use gdb 5.0 with gcc 3.0 snapshots and expect it to work. GDB 5 was
released before gcc 3.0 even branched, and doesn't have support for
the newer demangling style.

Use a newer gdb (like a snapshot), and it should work fine.

> to use "break _ZN2ns1fEv") Generally, namespaces are not recognized 
> at all. For example, if i type "break ns::" and press <ESC-?>, 
> instead of displaying functions from that namespace, all functions in 
> the scope are displayed (as it happens when you type "break" and 
> press <ESC-?>).
Once again, you have to quote it to get completion to work in 5.0.
It's a bug that's particularly heinous to fix in a clean way.


-- 
"I have a friend named Dennis.  Both of his parents were midgets,
but he isn't a midget.  He's a midget-dwarf.  He's two inches
tall.  He's the one who poses for trophies.
"-Steven Wright


      reply	other threads:[~2001-05-22  6:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-21 11:24 Daniel Manfis
2001-05-21 18:23 ` Daniel Berlin
2001-05-22  3:13   ` Daniel Manfis
2001-05-22  6:29     ` Daniel Berlin [this message]

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=87zoc5sebq.fsf@dynamic-addr-83-177.resnet.rochester.edu \
    --to=dan@cgsoftware.com \
    --cc=dany_100@yahoo.com \
    --cc=gdb@sourceware.cygnus.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