Fix prologue analysis for moxie.
[deliverable/binutils-gdb.git] / gdb / eval.c
index e028e89862683352d67f6ff6cb67a026a20d8adf..7e41d3962aa2ced59573f1c9c9ab99ebbe20ddba 100644 (file)
@@ -1522,7 +1522,8 @@ evaluate_subexp_standard (struct type *expect_type,
            error (_("Expression of type other than \"Function returning ...\" used as function"));
        }
       if (TYPE_CODE (value_type (argvec[0])) == TYPE_CODE_INTERNAL_FUNCTION)
-       return call_internal_function (argvec[0], nargs, argvec + 1);
+       return call_internal_function (exp->gdbarch, exp->language_defn,
+                                      argvec[0], nargs, argvec + 1);
 
       return call_function_by_hand (argvec[0], nargs, argvec + 1);
       /* pai: FIXME save value from call_function_by_hand, then adjust pc by adjust_fn_pc if +ve  */
This page took 0.02456 seconds and 4 git commands to generate.