aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-11-08 15:47:39 -0700
committerTom Tromey <tom@tromey.com>2017-01-10 19:13:50 -0700
commit14b122bf1ce59f5f1b82f6e2a347f4ad89801f45 (patch)
tree5fc04dfe42eaff9860582d3e811c87e1fff09217 /gdb/ChangeLog
parentbf1ca3b9476185fb6e301d85e646f5d2af95e257 (diff)
downloadgdb-14b122bf1ce59f5f1b82f6e2a347f4ad89801f45.zip
gdb-14b122bf1ce59f5f1b82f6e2a347f4ad89801f45.tar.gz
gdb-14b122bf1ce59f5f1b82f6e2a347f4ad89801f45.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 66a5150..318c784 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
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.
+
+2017-01-10 Tom Tromey <tom@tromey.com>
+
* python/py-xmethods.c (invoke_match_method): Use
gdbpy_ref.