diff options
author | Per Bothner <per@bothner.com> | 1995-02-17 23:20:29 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1995-02-17 23:20:29 +0000 |
commit | fda36387ebfea914119a1287e6e492a1aa7af3ef (patch) | |
tree | 5b44a101e8b30b3ef4f643dcc3917ed536b1d5d6 /gdb/ChangeLog | |
parent | 07f27bb80c97939639598ef622548e830adb2ae7 (diff) | |
download | gdb-fda36387ebfea914119a1287e6e492a1aa7af3ef.zip gdb-fda36387ebfea914119a1287e6e492a1aa7af3ef.tar.gz gdb-fda36387ebfea914119a1287e6e492a1aa7af3ef.tar.bz2 |
* parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
* valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
* c-typeprint.c (c_type_print_varspec_suffix): If array length
is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9928db6..1bc7ccb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com> + + * parse.c (follow_types): Given (TYPE[]) (i.e. with no length), + create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED. + * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array + of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length. + * c-typeprint.c (c_type_print_varspec_suffix): If array length + is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED. + Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com> * dcache.c (insque, remque): Rewrite Linux support. |