This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: printing 0xbeef wchar_t on x86-windows...
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org, tromey at redhat dot com
- Date: Mon, 15 Oct 2012 13:14:28 -0700
- Subject: Re: printing 0xbeef wchar_t on x86-windows...
- References: <20121015190052.GH3034@adacore.com> <83hapv4iy4.fsf@gnu.org>
> > * valprint.c:generic_emit_char calls wchar_iterate, and finds
> > one valid character according to the intermediate encoding
> > ("wchar_t"), even though the character isn't valid in the
> > original/target charset ("CP1252").
>
> How would cp1252 enter the picture, when you are talking about a
> wchar_t data type?
It's the default target charset on this host (see "set/show
host-charset"). That's pretty much all I know.
--
Joel