Hello, when calling evaluate_subexp with the EVAL_SKIP option, a dummy value is returned; this is currently constructed using the builtin_type_long macro. As the actual type doesn't really matter, this patch changes that to use builtin_type_int8 instead. Bye, Ulrich ChangeLog: * 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. Index: gdb-head/gdb/ada-lang.c =================================================================== --- gdb-head.orig/gdb/ada-lang.c +++ gdb-head/gdb/ada-lang.c @@ -9277,7 +9277,7 @@ ada_evaluate_subexp (struct type *expect } nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } Index: gdb-head/gdb/eval.c =================================================================== --- gdb-head.orig/gdb/eval.c +++ gdb-head/gdb/eval.c @@ -2482,7 +2482,7 @@ GDB does not (yet) know how to evaluate } 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, Index: gdb-head/gdb/jv-lang.c =================================================================== --- gdb-head.orig/gdb/jv-lang.c +++ gdb-head/gdb/jv-lang.c @@ -938,7 +938,7 @@ evaluate_subexp_java (struct type *expec 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) Index: gdb-head/gdb/m2-lang.c =================================================================== --- gdb-head.orig/gdb/m2-lang.c +++ gdb-head/gdb/m2-lang.c @@ -273,7 +273,7 @@ evaluate_subexp_modula2 (struct type *ex } nosideret: - return value_from_longest (builtin_type_long, (LONGEST) 1); + return value_from_longest (builtin_type_int8, (LONGEST) 1); } Index: gdb-head/gdb/scm-lang.c =================================================================== --- gdb-head.orig/gdb/scm-lang.c +++ gdb-head/gdb/scm-lang.c @@ -220,7 +220,7 @@ evaluate_exp (struct type *expect_type, } 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 = -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com