diff options
author | Fred Fish <fnf@specifix.com> | 1993-12-11 01:27:23 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-12-11 01:27:23 +0000 |
commit | 11b959da9c1f39873980f859a05668bf61ba4b40 (patch) | |
tree | fe5bb539b694c3ef0fff69de2840b812b4bc93ec /gdb/ch-valprint.c | |
parent | 6972011b96bbbbd714dc63d71914f2bc21e00361 (diff) | |
download | gdb-11b959da9c1f39873980f859a05668bf61ba4b40.zip gdb-11b959da9c1f39873980f859a05668bf61ba4b40.tar.gz gdb-11b959da9c1f39873980f859a05668bf61ba4b40.tar.bz2 |
* stabsread.c (read_array_type): Allow negative array bounds,
without interpreting that to mean "adjustable."
* ch-valprint.c (chill_val_print): Handle RANGE types.
* ch-typeprint.c (chill_type_print_base): Handle BOOL.
Handle variant records. Handle RANGE types.
Diffstat (limited to 'gdb/ch-valprint.c')
-rw-r--r-- | gdb/ch-valprint.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ch-valprint.c b/gdb/ch-valprint.c index 5f29b31..4be369b 100644 --- a/gdb/ch-valprint.c +++ b/gdb/ch-valprint.c @@ -234,14 +234,19 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse, deref_ref, recurse, pretty); break; + case TYPE_CODE_RANGE: + if (TYPE_TARGET_TYPE (type)) + chill_val_print (TYPE_TARGET_TYPE (type), valaddr, address, stream, + format, deref_ref, recurse, pretty); + break; + case TYPE_CODE_MEMBER: case TYPE_CODE_UNION: case TYPE_CODE_FUNC: case TYPE_CODE_VOID: case TYPE_CODE_ERROR: - case TYPE_CODE_RANGE: default: - /* Let's derfer printing to the C printer, rather than + /* Let's defer printing to the C printer, rather than print an error message. FIXME! */ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse, pretty); |