Display content of unicode std::wstring objects
Paul Pluzhnikov
ppluzhnikov@google.com
Fri Aug 15 20:04:00 GMT 2008
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
More information about the Gdb
mailing list