diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:21:21 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:21:21 +0000 |
commit | b769d911fd1a0ffdde4305b1cb7a9a8265549896 (patch) | |
tree | ae1ffec015d1690d1dffef0777028cf1fa4d611b /gdb/ada-valprint.c | |
parent | fde6c81990c82b00f737cec2d781458de2ac84e1 (diff) | |
download | gdb-b769d911fd1a0ffdde4305b1cb7a9a8265549896.zip gdb-b769d911fd1a0ffdde4305b1cb7a9a8265549896.tar.gz gdb-b769d911fd1a0ffdde4305b1cb7a9a8265549896.tar.bz2 |
* gdbtypes.h (struct builtin_type): Remove builtin_true_char
and builtin_true_unsigned_char.
(builtin_type_true_char): Remove macro, add extern declaration.
(builtin_type_true_unsigned_char): Add extern declaration.
* gdbtypes.c (builtin_type_true_char): New global variable.
(builtin_type_true_unsigned_char): Likewise.
(_initialize_gdbtypes): Initialize them.
(gdbtypes_post_init): Do not initialize builtin_true_char
and builtin_true_unsigned_char members of struct builtin_type.
* printcmd.c (print_scalar_formatted): Do not use builtin_type;
use builtin_type_true_unsigned_char instead.
* ada-valprint.c (ada_val_print_1): Use builtin_type_true_char
instead of builtin_type_char for internal string.
Diffstat (limited to 'gdb/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index 0972367..5d8d73d 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -752,7 +752,7 @@ ada_val_print_1 (struct type *type, const gdb_byte *valaddr0, parray_of_char = make_pointer_type (create_array_type - (NULL, builtin_type_char, + (NULL, builtin_type_true_char, create_range_type (NULL, builtin_type_int, 0, 32)), NULL); printable_val = |