* 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.
This commit is contained in:
Ulrich Weigand 2008-09-11 14:16:51 +00:00
parent 0ab7ba45fa
commit cb18ec4997
6 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,12 @@
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.

View File

@ -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);
}

View File

@ -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,

View File

@ -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)

View File

@ -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);
}

View File

@ -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 =