Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:13:31 +0000 (10:13 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:00 +0000 (19:14 -0700)
commit64081434cce13f38288d82d3d31b6199e9deff4a
tree4b2bca4e6d109832a48a90aef07396bdf8d09863
parent59e9e83119a528f17afea89ee22195a95322c6d6
Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop

This changes gdbpy_breakpoint_cond_says_stop to use gdbpy_ref rather
than explicit reference management.

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

* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/py-breakpoint.c