* python/py-threadevent.c (get_event_thread): Use
authorTom Tromey <tromey@redhat.com>
Mon, 20 May 2013 20:10:03 +0000 (20:10 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 20 May 2013 20:10:03 +0000 (20:10 +0000)
commit634c58be55bc36d8b568057263352a64cc7478a5
tree7997e3f309e556a7e4d21c99def5973668c6ce84
parent62eec1a534a27c721360713b21e14fb800e21e36
* python/py-threadevent.c (get_event_thread): Use
CPYCHECKER_RETURNS_BORROWED_REF.
* python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
New define.
(pspace_to_pspace_object, objfile_to_objfile_object)
(find_thread_object): Use it.
gdb/ChangeLog
gdb/python/py-threadevent.c
gdb/python/python-internal.h