From: Tom Tromey <tromey@redhat.com>
To: Tiago Maluta <maluta_tiago@yahoo.com.br>
Cc: archer@sourceware.org
Subject: Re: error using pretty printing
Date: Wed, 01 Apr 2009 23:51:00 -0000 [thread overview]
Message-ID: <m3d4bwdjbm.fsf@fleche.redhat.com> (raw)
In-Reply-To: <49D3DC32.7000409@yahoo.com.br> (Tiago Maluta's message of "Wed\, 01 Apr 2009 21\:27\:14 +0000")
>>>>> "Tiago" == Tiago Maluta <maluta_tiago@yahoo.com.br> writes:
Tiago> I followed the steps to Pretty Printing (part 1) [1] after
Tiago> reading the blog post about Installing a Python-enabled
Tiago> debugger [2]
Oops, sorry I didn't respond to you privately.
Tiago> Trying the little example to print 'str' value I got the same result
Tiago> that gdb without python support would print.
With today's git you need to run two commands first:
python import gdb.libstdcxx.v6.printers
python gdb.libstdcxx.v6.printers.register_libstdcxx_printers(None)
This is kind of inconvenient, and undocumented -- but that is because
we're going to push these printers upstream into libstdc++, and have
them be auto-activated, at least in the distros.
Tom
next prev parent reply other threads:[~2009-04-01 23:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 23:28 Tiago Maluta
2009-04-01 23:51 ` Tom Tromey [this message]
2009-04-02 15:24 ` Phil Muldoon
2009-04-02 16:13 ` Tom Tromey
2009-04-03 11:40 ` Vladimir Prus
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=m3d4bwdjbm.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=archer@sourceware.org \
--cc=maluta_tiago@yahoo.com.br \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).