gdb
authorTom Tromey <tromey@redhat.com>
Fri, 25 Sep 2009 20:53:14 +0000 (20:53 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 25 Sep 2009 20:53:14 +0000 (20:53 +0000)
commitb8899f2b6861deda28ccc10d925105e7e516d68b
tree71860a04741deb562bfb6abdddc2840953369f27
parentfe2d172ccbde84427ab164b885a0df6c9e21f9a0
gdb
* charset.c (iconv_open): Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
(iconv): Rename 'ucs_flag'.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
* c-lang.c (charset_for_string_type): Use UTF-16 and UTF-32, not
UCS-2 and UCS-4.
(convert_ucn): Use UTF-32.
gdb/testsuite
* gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
* gdb.base/charset.c (utf_32_string): Rename.
(init_utf32): Rename.
(main): Update.
gdb/ChangeLog
gdb/c-lang.c
gdb/charset.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/charset.c
gdb/testsuite/gdb.base/charset.exp