aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:51 +0000
commitcb18ec49971fe854438c21c6fd9bd08672d476e6 (patch)
tree99d255f81a9486937272d03aeb12ffe8cacf94e7 /gdb/jv-lang.c
parent0ab7ba45fa26e78626617b4d90725fc921c74f69 (diff)
downloadgdb-cb18ec49971fe854438c21c6fd9bd08672d476e6.zip
gdb-cb18ec49971fe854438c21c6fd9bd08672d476e6.tar.gz
gdb-cb18ec49971fe854438c21c6fd9bd08672d476e6.tar.bz2
* 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.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c2
1 files changed, 1 insertions, 1 deletions
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)