Use gdbpy_ref in gdbpy_breakpoints
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:25:22 +0000 (21:25 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:33 +0000 (19:13 -0700)
commitbf2a52fa2ac2c4486653993a765fd922b3cd64a6
tree2c78ab76c1e1759e5e3b415ee04b26d7122b8784
parentf59fe7f8e3e55472e6fcfb06677ff4925dad1f64
Use gdbpy_ref in gdbpy_breakpoints

This changes gdbpy_breakpoints to use gdbpy_ref.

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

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