Change thread_to_thread_object to return a new reference
authorTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 05:15:48 +0000 (23:15 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Sep 2018 13:25:57 +0000 (07:25 -0600)
commitdb1337cc8300bb44f8ccf9dced3e122b6e50b4c9
tree648d2e5f1f1f2fcccc723761ae7bbbe028e109e7
parent0a9db5ad8a6c49cec7adb7e3ef29c558fcfbf11b
Change thread_to_thread_object to return a new reference

This changes thread_to_thread_object to return a new reference and
fixes up all the callers.

gdb/ChangeLog
2018-09-16  Tom Tromey  <tom@tromey.com>

* python/python-internal.h (thread_to_thread_object): Change
return type.
* python/py-inferior.c (thread_to_thread_object): Return a new
reference.
(infpy_thread_from_thread_handle): Update.
* python/py-infthread.c (gdbpy_selected_thread): Update.
* python/py-stopevent.c (create_stop_event_object): Update.
* python/py-threadevent.c (py_get_event_thread): Return a new
reference.
(py_get_event_thread): Update.
* python/py-event.h (py_get_event_thread): Change return type.
* python/py-continueevent.c (create_continue_event_object):
Update.
gdb/ChangeLog
gdb/python/py-continueevent.c
gdb/python/py-event.h
gdb/python/py-inferior.c
gdb/python/py-infthread.c
gdb/python/py-stopevent.c
gdb/python/py-threadevent.c
gdb/python/python-internal.h
This page took 0.027504 seconds and 4 git commands to generate.