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/stabsread.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/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 4824b71..3203cbf 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2794,7 +2794,7 @@ read_array_type (pp, type, objfile) return error_type (pp); ++*pp; - if (!(**pp >= '0' && **pp <= '9')) + if (!(**pp >= '0' && **pp <= '9') && **pp != '-') { (*pp)++; adjustable = 1; @@ -2803,7 +2803,7 @@ read_array_type (pp, type, objfile) if (nbits != 0) return error_type (pp); - if (!(**pp >= '0' && **pp <= '9')) + if (!(**pp >= '0' && **pp <= '9') && **pp != '-') { (*pp)++; adjustable = 1; |