Use gdbpy_enter in gdbpy_get_matching_xmethod_workers
authorTom Tromey <tom@tromey.com>
Tue, 8 Nov 2016 22:34:55 +0000 (15:34 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:48 +0000 (19:13 -0700)
commit572a5524c1eb50d8064a44108fd0ef22a0e63bf8
tree8d194259cc0b5f197c4904548917998665ab4500
parent396a78b6271c45410fc22c4bc7f8cff75da3d153
Use gdbpy_enter in gdbpy_get_matching_xmethod_workers

Change gdbpy_get_matching_xmethod_workers to use gdbpy_enter and
gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

* python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
gdbpy_enter, gdbpy_ref.
gdb/ChangeLog
gdb/python/py-xmethods.c