]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/python/py-value.c
Stop assuming no-debug-info functions return int
[thirdparty/binutils-gdb.git] / gdb / python / py-value.c
index b5a0ef86d24aa0625dc4c5829057abbc2c2a4288..cbbb9362ec9afcdcafd5f25a79442aac1f9ca1a5 100644 (file)
@@ -925,7 +925,8 @@ valpy_call (PyObject *self, PyObject *args, PyObject *keywords)
       scoped_value_mark free_values;
       struct value *return_value;
 
-      return_value = call_function_by_hand (function, args_count, vargs);
+      return_value = call_function_by_hand (function, NULL,
+                                           args_count, vargs);
       result = value_to_value_object (return_value);
     }
   CATCH (except, RETURN_MASK_ALL)