* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
authorPierre Muller <muller@sourceware.org>
Thu, 21 Apr 2011 14:26:38 +0000 (14:26 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 21 Apr 2011 14:26:38 +0000 (14:26 +0000)
commitbcb28afc532c6defc36fd52db211f3a785a8a6ef
tree21e6e1cf639d937d7b8810b1724d67ed4d33fa80
parent9165b2bff2916b808c29501af6a7f0b48ab794b8
* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
(INTERMEDIATE_ENCODING): Change value to intermediate_encoding
function call if __STDC_ISO_10646__ macro is defined.
(intermediate_encoding): New prototype.
* charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
to generate compile time error for unsupported gdb_wchar_t size.
(ENDIAN_SUFFIX): New macro.
(intermediate_encoding): New function.
gdb/ChangeLog
gdb/charset.c
gdb/gdb_wchar.h