This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/WIP] C/C++ wchar_t/Unicode printing support


> Cc: Julian Brown <julian@codesourcery.com>, gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 16 Jan 2009 09:15:39 -0700
> 
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> + #ifndef GDB_DEFAULT_TARGET_WIDE_CHARSET
> >> + #define GDB_DEFAULT_TARGET_WIDE_CHARSET "UTF-32"
> >> + #endif
> >> + 
> >> + #ifndef GDB_INTERNAL_CODESET
> >> + #define GDB_INTERNAL_CODESET "UCS-4LE"
> >> + #endif
> 
> Eli> Why are these the defaults? because of what GNU/Linux (i.e. glibc)
> Eli> does, or for some other reason?  If the former, shouldn't this be
> Eli> autoconfigured?
> 
> I don't think there is a way to auto-configure the target wide
> charset.

Then let's put this in defs.h, with suitable defaults for at least the
popular platforms.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]