From: ppluzhnikov@google.com (Paul Pluzhnikov)
To: archer@sourceware.org
Cc: ppluzhnikov@google.com, jyasskin@google.com
Subject: [python] Pretty-printers for non-ASCII data (take 2).
Date: Mon, 06 Jul 2009 23:03:00 -0000 [thread overview]
Message-ID: <20090706230319.6B76076BC0@localhost> (raw)
Greetings,
Previous thread on this subject:
http://sourceware.org/ml/archer/2008-q4/msg00180.html
Jeffrey Yasskin suggests that in addition to gdb.Value.string we need a
gdb.Value.data(ptr, len) returning a Python 'str' object with just raw
contents of the value, which can then be passed to e.g. binascii.hexlify()
for printing.
Does that sound reasonable? I'll send a patch if it is.
Thanks,
--
Paul Pluzhnikov
next reply other threads:[~2009-07-06 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 23:03 Paul Pluzhnikov [this message]
2009-07-07 4:32 ` Jeffrey Yasskin
2009-07-07 16:24 ` Tom Tromey
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=20090706230319.6B76076BC0@localhost \
--to=ppluzhnikov@google.com \
--cc=archer@sourceware.org \
--cc=jyasskin@google.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).