summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:50 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:50 +0000
commite2fc74023651b60496556b1f8a27154f40227e13 (patch)
tree05ddd3fd210ce0987c0b006e1222cc961b52bbc8 /gdb/m2-lang.c
parent33511ea249e74d6259b81b4bbfb193bc3b873d02 (diff)
downloadgdb-e2fc74023651b60496556b1f8a27154f40227e13.tar.gz
* 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/m2-lang.c')
-rw-r--r--gdb/m2-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 5c3a2840a5c..8bc0ce79523 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);
}