Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Shang Yu <yusunn@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: user friendly symbol name
Date: Fri, 09 Aug 2013 10:22:00 -0000	[thread overview]
Message-ID: <87r4e3410t.fsf@igel.home> (raw)
In-Reply-To: <CAHHgPeMJfZ6J1UW5XRANXHxmO0xQ_dAMcXe4RtiHS_sdZgXnpw@mail.gmail.com>	(Shang Yu's message of "Fri, 9 Aug 2013 09:17:16 +0800")

Shang Yu <yusunn@gmail.com> writes:

> How to display a user friendly symbol name in gdb ? For example , I
> want gdb display the following symbol name _ZNSt14basic_iostreamIwSt
> in its C++ equivalent format.

(gdb) help maintenance demangle                                                 
Demangle a C++/ObjC mangled name.                                               
Call internal GDB demangler routine to demangle a C++ link name                 
and prints the result.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


  parent reply	other threads:[~2013-08-09 10:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09  1:17 Shang Yu
2013-08-09  3:22 ` Hatte John
2013-08-09 10:22 ` Andreas Schwab [this message]
2013-08-09 10:22 ` Jan Kratochvil
2013-08-09 14:14   ` Pedro Alves
2013-08-09 14:21     ` Eli Zaretskii
2013-08-09 18:23     ` Tom Tromey
2013-08-12 16:39       ` Pedro Alves
2013-08-09 17:58   ` Shang Yu
2013-08-09 18:56     ` Jan Kratochvil

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=87r4e3410t.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=gdb@sourceware.org \
    --cc=yusunn@gmail.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