* eval.c (language.h): Include.
authorFred Fish <fnf@specifix.com>
Sun, 3 Jan 1993 22:24:21 +0000 (22:24 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 3 Jan 1993 22:24:21 +0000 (22:24 +0000)
commitfb6e675f95e39ecf9f8664861b64243001fc0a11
tree67fb6eb6769b56a53cc4c8fbb9f37436a35d8791
parent191395156c25bce7915660307c78708269ff6c0f
* 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.
gdb/ChangeLog
gdb/eval.c
gdb/valarith.c