Commit a6986a9e authored by Volker-Weissmann's avatar Volker-Weissmann Committed by GitHub

Fixed gdb C call to free() that broke "cy exec". (GH-3487)

parent 3469f0c7
......@@ -2608,7 +2608,7 @@ class PythonCodeExecutor(object):
return pointer
def free(self, pointer):
gdb.parse_and_eval("free((void *) %d)" % pointer)
gdb.parse_and_eval("(void) free((void *) %d)" % pointer)
def incref(self, pointer):
"Increment the reference count of a Python object in the inferior."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment