diff options
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index eaaad5a3882..5a54d85c7e5 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -618,7 +618,8 @@ variable: NAME { write_exp_msymbol (msymbol, - lookup_function_type (builtin_type_int), + (struct type *) make_function_type (NULL, builtin_type_int, 0, NULL, 0), + builtin_type_int); } else if (!have_full_symbols () && !have_partial_symbols ()) |