diff options
Diffstat (limited to 'gdb/scm-lang.c')
-rw-r--r-- | gdb/scm-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/scm-lang.c b/gdb/scm-lang.c index b1d7865..66f293b 100644 --- a/gdb/scm-lang.c +++ b/gdb/scm-lang.c @@ -222,7 +222,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_int8, (LONGEST) 1); + return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1); } const struct exp_descriptor exp_descriptor_scm = |