Use gdbpy_enter in py-xmethod.c
authorTom Tromey <tom@tromey.com>
Tue, 8 Nov 2016 22:47:39 +0000 (15:47 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:50 +0000 (19:13 -0700)
commit14b122bf1ce59f5f1b82f6e2a347f4ad89801f45
tree5fc04dfe42eaff9860582d3e811c87e1fff09217
parentbf1ca3b9476185fb6e301d85e646f5d2af95e257
Use gdbpy_enter in py-xmethod.c

This changes the remaining functions in py-xmethod.c to use
gdbpy_enter; using gdbpy_ref and unique_xmalloc_ptr as
appropriate.

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

* python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
(gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
(gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
unique_xmalloc_ptr.
(gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
gdb/ChangeLog
gdb/python/py-xmethods.c
This page took 0.02879 seconds and 4 git commands to generate.