* 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
6 changed files with 14 additions and 5 deletions
|
@ -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>
|
2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* value.h (coerce_enum, coerce_number): Remove prototypes.
|
* value.h (coerce_enum, coerce_number): Remove prototypes.
|
||||||
|
|
|
@ -9238,7 +9238,7 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
|
||||||
}
|
}
|
||||||
|
|
||||||
nosideret:
|
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:
|
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,
|
/* Evaluate a subexpression of EXP, at index *POS,
|
||||||
|
|
|
@ -938,7 +938,7 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp,
|
||||||
standard:
|
standard:
|
||||||
return evaluate_subexp_standard (expect_type, exp, pos, noside);
|
return evaluate_subexp_standard (expect_type, exp, pos, noside);
|
||||||
nosideret:
|
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)
|
static char *java_demangle (const char *mangled, int options)
|
||||||
|
|
|
@ -273,7 +273,7 @@ evaluate_subexp_modula2 (struct type *expect_type, struct expression *exp,
|
||||||
}
|
}
|
||||||
|
|
||||||
nosideret:
|
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);
|
return evaluate_subexp_standard (expect_type, exp, pos, noside);
|
||||||
nosideret:
|
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 =
|
const struct exp_descriptor exp_descriptor_scm =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue