* eval.c (evaluate_subexp_standard): Report error when attempting to
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 13 Apr 1996 10:01:49 +0000 (10:01 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 13 Apr 1996 10:01:49 +0000 (10:01 +0000)
commit9898b3b7c77ed601f60977ea2a7715cfcf17f4ec
treec9b971936df37d0b749181230928cd74c4725956
parent38d715a4c80f5b19e55a06cf3da6d8a9f114763c
* eval.c (evaluate_subexp_standard):  Report error when attempting to
evaluate subscripts for types which cannot be subscripted.

* valarith.c (value_x_binop, value_x_unop):  Add noside parameter.
Return a zero value with the return type of the member function
if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
function.
* values.h (value_x_binop, value_x_unop):  Update prototypes
accordingly.
* eval.c (evaluate_subexp_standard):  Update all callers of
value_x_binop, value_x_unop accordingly.

* valarith.c (value_neg, value_complement):  Perform ANSI C/C++
integral promotion on operands.
gdb/ChangeLog