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: [RFA/commit] Set default target-wide-charset setting to "UTF-16" for x86_64-windows.


>>>>> "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


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