diff options
author | Fred Fish <fnf@specifix.com> | 1993-01-03 22:24:21 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-01-03 22:24:21 +0000 |
commit | fb6e675f95e39ecf9f8664861b64243001fc0a11 (patch) | |
tree | 67fb6eb6769b56a53cc4c8fbb9f37436a35d8791 /gdb/m2-lang.c | |
parent | 191395156c25bce7915660307c78708269ff6c0f (diff) | |
download | gdb-fb6e675f95e39ecf9f8664861b64243001fc0a11.zip gdb-fb6e675f95e39ecf9f8664861b64243001fc0a11.tar.gz gdb-fb6e675f95e39ecf9f8664861b64243001fc0a11.tar.bz2 |
* eval.c (language.h): Include.
* eval.c (evaluate_subexp_with_coercion): Only coerce arrays
to pointer types when the current language is C. It loses for
other languages when the lower index bound is nonzero.
* valarith.c (value_subscript): Take array lower bounds into
account when performing subscripting operations.
* valops.c (value_coerce_array): Add comment describing why
arrays with nonzero lower bounds are dealt with in value_subscript,
rather than in value_coerce_array.
Diffstat (limited to 'gdb/m2-lang.c')
0 files changed, 0 insertions, 0 deletions