forked from Imagelibrary/binutils-gdb
gdb/
* dwarf2read.c (read_subrange_type): Call read_subrange_type. * p-lang.c (pascal_printstr): Likewise.
This commit is contained in:
@@ -222,7 +222,11 @@ pascal_printstr (struct ui_file *stream, struct type *type,
|
||||
unsigned int things_printed = 0;
|
||||
int in_quotes = 0;
|
||||
int need_comma = 0;
|
||||
int width = TYPE_LENGTH (type);
|
||||
int width;
|
||||
|
||||
/* Preserve TYPE's original type, just set its LENGTH. */
|
||||
check_typedef (type);
|
||||
width = TYPE_LENGTH (type);
|
||||
|
||||
/* If the string was not truncated due to `set print elements', and
|
||||
the last byte of it is a null, we don't print that, in traditional C
|
||||
|
||||
Reference in New Issue
Block a user