diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-inferior.c | 2 | ||||
-rw-r--r-- | gdb/python/py-progspace.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 907b73e..211a643 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -725,7 +725,7 @@ gdbpy_initialize_inferior (void) (PyObject *) &inferior_object_type); infpy_inf_data_key = - register_inferior_data_with_cleanup (py_free_inferior); + register_inferior_data_with_cleanup (NULL, py_free_inferior); observer_attach_new_thread (add_thread_object); observer_attach_thread_exit (delete_thread_object); diff --git a/gdb/python/py-progspace.c b/gdb/python/py-progspace.c index 1cb8240..e4b029b 100644 --- a/gdb/python/py-progspace.c +++ b/gdb/python/py-progspace.c @@ -179,7 +179,7 @@ void gdbpy_initialize_pspace (void) { pspy_pspace_data_key - = register_program_space_data_with_cleanup (py_free_pspace); + = register_program_space_data_with_cleanup (NULL, py_free_pspace); if (PyType_Ready (&pspace_object_type) < 0) return; |