From: "Paul Pluzhnikov" <ppluzhnikov@google.com>
To: "Fredrik Orderud" <fredrik.orderud@idi.ntnu.no>
Cc: gdb@sourceware.org
Subject: Re: Display content of unicode std::wstring objects
Date: Fri, 15 Aug 2008 20:04:00 -0000 [thread overview]
Message-ID: <8ac60eac0808150801n1de25cc2mb6b438b1e262c91b@mail.gmail.com> (raw)
In-Reply-To: <8DAABA4DED90428A886BEAEBD9C8AFCB@Orderud>
On Fri, Aug 15, 2008 at 6:12 AM, Fredrik Orderud
<fredrik.orderud@idi.ntnu.no> wrote:
> Is there any in-build support for displaying the content of C++ STL unicode
> text-strings in gdb?
No, but Python scripting work (happening right now) is supposed to address this.
In the mean time, you may want to try this patch:
http://sourceware.org/ml/gdb-patches/2008-08/msg00167.html
It claims to allow this:
(gdb) p z
(std::wstring) L"This is a wide string."
Cheers,
--
Paul Pluzhnikov
prev parent reply other threads:[~2008-08-15 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 18:26 Fredrik Orderud
2008-08-15 20:04 ` Paul Pluzhnikov [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=8ac60eac0808150801n1de25cc2mb6b438b1e262c91b@mail.gmail.com \
--to=ppluzhnikov@google.com \
--cc=fredrik.orderud@idi.ntnu.no \
--cc=gdb@sourceware.org \
/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