diff options
author | Fred Fish <fnf@specifix.com> | 1993-01-19 23:00:19 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-01-19 23:00:19 +0000 |
commit | ec16f7015b91a7324011b41f6a13dfab0fd5d21a (patch) | |
tree | e7f4babdb56207372200a6e11c3f46b4bbcacb97 /gdb/c-valprint.c | |
parent | fa2b89f1032989451742a5a75bcdec34736f903a (diff) | |
download | gdb-ec16f7015b91a7324011b41f6a13dfab0fd5d21a.zip gdb-ec16f7015b91a7324011b41f6a13dfab0fd5d21a.tar.gz gdb-ec16f7015b91a7324011b41f6a13dfab0fd5d21a.tar.bz2 |
* c-exp.y (exp): Add production to support direct creation
of array constants using the obvious syntax.
* c-valprint.c (c_val_print): Set printed string length.
* dwarfread.c (read_tag_string_type): New prototype and
function that handles TAG_string_type DIEs.
* dwarfread.c (process_dies): Add case for TAG_string_type
that calls new read_tag_string_type function.
* expprint.c (print_subexp): Add support for OP_ARRAY.
* gdbtypes.c (create_range_type, create_array_type): Inherit
objfile from the index type.
**** start-sanitize-chill ****
* ch-typeprint.c (chill_print_type): Add case for
TYPE_CODE_STRING.
* ch-valprint.c (chill_val_print): Fix case for
TYPE_CODE_STRING.
**** end-sanitize-chill ****
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 2d13db2..1df8228 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -118,6 +118,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse, fprintf_filtered (stream, "0x%x ", address); } LA_PRINT_STRING (stream, valaddr, len, 0); + i = len; } else { |