[RFA/commit] Set default target-wide-charset setting to "UTF-16" for x86_64-windows.
Tom Tromey
tromey@redhat.com
Fri Oct 19 20:48:00 GMT 2012
>>>>> "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
More information about the Gdb-patches
mailing list