diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-12 21:54:20 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-12 21:54:20 +0000 |
commit | 18d3d85907ade40bcc733fb4ca8eb72de118a131 (patch) | |
tree | 33e103946713802bbd9aa5bda8c60d6af0338f35 /gdb/ch-lang.c | |
parent | bc778001af63be9cf5d7fc3cd1b0321f8a1cd12f (diff) | |
download | gdb-18d3d85907ade40bcc733fb4ca8eb72de118a131.zip gdb-18d3d85907ade40bcc733fb4ca8eb72de118a131.tar.gz gdb-18d3d85907ade40bcc733fb4ca8eb72de118a131.tar.bz2 |
* valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
arg, it is a value not a symbol.
gcc -Wall lint:
* eval.c: Move declaration of evaluate_subexp_with_coercion from here..
* expression.h: ..to here.
* expression.h: Include value.h.
* ch-lang.c (evaluate_subexp_chill): Add default case in switch.
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r-- | gdb/ch-lang.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index 9bce588..2b65fb4 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -324,6 +324,8 @@ evaluate_subexp_chill (expect_type, exp, pos, noside) argvec[tem] = 0; /* signal end of arglist */ return call_function_by_hand (argvec[0], nargs, argvec + 1); + default: + break; } while (nargs-- > 0) @@ -332,6 +334,8 @@ evaluate_subexp_chill (expect_type, exp, pos, noside) arg1 = value_subscript (arg1, index); } return (arg1); + default: + break; } return evaluate_subexp_standard (expect_type, exp, pos, noside); |