Use gdbpy_ref rather than make_cleanup_py_decref
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 18:04:40 +0000 (11:04 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:07 +0000 (19:14 -0700)
commit13df46cc0f340253e8a7bd984d1e4f38f29eec2d
tree19615eaa6ad0146037fbd9523c8f331cc3851afd
parent06fc9bf7d92d0bc857f3e8c109686f36aea5509c
Use gdbpy_ref rather than make_cleanup_py_decref

This changes some spots in py-framefilter.c to use gdbpy_ref rather
than make_cleanup_py_decref or make_cleanup_py_xdecref.

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

* python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref.
(py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-framefilter.c
This page took 0.025801 seconds and 4 git commands to generate.