diff options
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/ada-lang.c | 2 | ||||
-rw-r--r-- | gdb/eval.c | 2 | ||||
-rw-r--r-- | gdb/jv-lang.c | 2 | ||||
-rw-r--r-- | gdb/m2-lang.c | 2 | ||||
-rw-r--r-- | gdb/scm-lang.c | 2 |
6 files changed, 14 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 40dbd22..ec43cbd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2008-09-11 Ulrich Weigand <uweigand@de.ibm.com> + * eval.c (evaluate_subexp_standard): Use builtin_type_int8 + to construct the EVAL_SKIP dummy return value. + * ada-lang.c (ada_evaluate_subexp): Likewise. + * jv-lang.c (evaluate_subexp_java): Likewise. + * m2-lang.c (evaluate_subexp_modula2): Likewise. + * scm-lang.c (evaluate_exp): Likewise. + +2008-09-11 Ulrich Weigand <uweigand@de.ibm.com> + * value.h (coerce_enum, coerce_number): Remove prototypes. * value.c (coerce_enum, coerce_number): Remove. * valarith.c (value_x_binop): Do not call coerce_enum. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 840b5ed..15310ef 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -9238,7 +9238,7 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp, } nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } @@ -2482,7 +2482,7 @@ GDB does not (yet) know how to evaluate that kind of expression")); } nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } /* Evaluate a subexpression of EXP, at index *POS, diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index e74b72d..4430633 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -938,7 +938,7 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp, standard: return evaluate_subexp_standard (expect_type, exp, pos, noside); nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } static char *java_demangle (const char *mangled, int options) diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index 5c3a284..8bc0ce7 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -273,7 +273,7 @@ evaluate_subexp_modula2 (struct type *expect_type, struct expression *exp, } nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } diff --git a/gdb/scm-lang.c b/gdb/scm-lang.c index 991e4b4..08f016d 100644 --- a/gdb/scm-lang.c +++ b/gdb/scm-lang.c @@ -220,7 +220,7 @@ evaluate_exp (struct type *expect_type, struct expression *exp, } return evaluate_subexp_standard (expect_type, exp, pos, noside); nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } const struct exp_descriptor exp_descriptor_scm = |