* 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:
parent
0ab7ba45fa
commit
cb18ec4997
@ -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.
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user