This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/WIP] C/C++ wchar_t/Unicode printing support
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Julian Brown <julian at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Sun, 01 Feb 2009 16:24:03 -0700
- Subject: Re: [PATCH/WIP] C/C++ wchar_t/Unicode printing support
- References: <20090115202411.5f154657@rex.config> <m37i4dx64p.fsf@fleche.redhat.com> <20090130194343.GA3964@adacore.com> <m3ocxos6og.fsf@fleche.redhat.com> <20090201182344.GD4597@caradoc.them.org> <m3skmxrdb6.fsf@fleche.redhat.com> <20090201231604.GA24974@caradoc.them.org>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
Daniel> As far as portability goes, we may have to experiment. But I can tell
Daniel> you flat out that swprintf is going to be a problem; it's a C99
Daniel> library function and most hosts don't have C99 library extensions.
Thanks. It is no trouble to avoid swprintf, I'll make this change.
Tom> I think "set charset" already does this. It doesn't handle the target
Tom> wide charset, but that seems ok in the degraded functionality mode.
Daniel> Right. Except that if the wide charset remains unchanged, validate
Daniel> will report an error since it can't convert to it...
Oh, duh. Yeah.
Tom