diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-12-24 16:52:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-12-24 16:52:24 +0000 |
commit | 5a517ebd81c05da8cf39fd9a9b8dddb4042009f6 (patch) | |
tree | 09fe7e7e94903eba10bfe6b58b872650f72048d6 /gdb | |
parent | 7e261fc58bed614237951d292333e9df6ebce2c2 (diff) | |
download | gdb-5a517ebd81c05da8cf39fd9a9b8dddb4042009f6.zip gdb-5a517ebd81c05da8cf39fd9a9b8dddb4042009f6.tar.gz gdb-5a517ebd81c05da8cf39fd9a9b8dddb4042009f6.tar.bz2 |
* ada-lang.c (ada_is_character_type): Add recognition of type
"Wide_Wide_Character".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-lang.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 716c12b..75423d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2007-12-24 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (ada_is_character_type): Add recognition of type + "Wide_Wide_Character". + +2007-12-24 Joel Brobecker <brobecker@adacore.com> + * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR for char and unsigned char types of Ada compilation units. * ada-lang.c (ada_is_character_type): Always return true if diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 83afdd7..c2b7d1f 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -7301,6 +7301,7 @@ ada_is_character_type (struct type *type) || TYPE_CODE (type) == TYPE_CODE_RANGE) && (strcmp (name, "character") == 0 || strcmp (name, "wide_character") == 0 + || strcmp (name, "wide_wide_character") == 0 || strcmp (name, "unsigned char") == 0)); } |