This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] Set default target-wide-charset setting to "UTF-16" for x86_64-windows.
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Oct 2012 14:48:12 -0600
- Subject: Re: [RFA/commit] Set default target-wide-charset setting to "UTF-16" for x86_64-windows.
- References: <1350677219-10668-1-git-send-email-brobecker@adacore.com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New
Joel> function.
Joel> (amd64_windows_init_abi): Set auto_wide_charset gdbarch method
Joel> to amd64_windows_auto_wide_charset.
I think these are both fine, this is what the hook is for.
It makes me wonder though if we could defer guessing the default until a
spot where we know the size of the target wchar_t.
Tom