Set default target-wide-charset setting to "UTF-16" for x86_64-windows.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 23 Oct 2012 15:37:03 +0000 (15:37 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 23 Oct 2012 15:37:03 +0000 (15:37 +0000)
commit83ab93c6eaf21fb4ee7b50de90f2837c20a55bd5
tree4316ea2ee4df9be0d5378f1d16427c2a1230fd72
parent04c3a75556c018feb1f609404c627414a7ef672e
Set default target-wide-charset setting to "UTF-16" for x86_64-windows.

Type wchar_t is only 2 bytes long on x86_64-windows.

gdb/ChangeLog:

        * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New
        function.
        (amd64_windows_init_abi): Set auto_wide_charset gdbarch method
        to amd64_windows_auto_wide_charset.
gdb/ChangeLog
gdb/amd64-windows-tdep.c