gdb
authorTom Tromey <tromey@redhat.com>
Fri, 25 Sep 2009 21:39:53 +0000 (21:39 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 25 Sep 2009 21:39:53 +0000 (21:39 +0000)
commit96c07c5b96e970c93ab71a1f351ca669bba78d1a
tree0228be5148273ed3078a199936b4ebf6cb9534d5
parentb8899f2b6861deda28ccc10d925105e7e516d68b
gdb
PR python/10664:
* language.h (struct language_defn) <la_get_string>: Add
'char_type' argument.
(LA_GET_STRING): Likewise.
(default_get_string, c_get_string): Update.
* language.c (default_get_string): Add 'char_type' argument.
* c-valprint.c (c_textual_element_type): Rename from
textual_element_type.  No longer static.  Update callers.
* c-lang.h (c_textual_element_type): Declare.
* c-lang.c (c_get_string): Add 'char_type' argument.
gdb/testsuite
PR python/10664:
* gdb.base/charset.exp: Test utf-16 strings with Python.
gdb/ChangeLog
gdb/c-lang.c
gdb/c-lang.h
gdb/c-valprint.c
gdb/language.c
gdb/language.h
gdb/python/py-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/charset.exp