Use gdbpy_ref in py-linetable.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:25:34 +0000 (21:25 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:34 +0000 (19:13 -0700)
commit87ce03fdc5a94f48fe62580410a099c0a0f68ee0
tree7b4e0e662db3e8985b415d57b9e40998e7e8ab78
parentee0a3fb85b33b172f704796612c4487ea368d675
Use gdbpy_ref in py-linetable.c

This changes some code in py-linetable.c to use gdbpy_ref.

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

* python/py-linetable.c (build_line_table_tuple_from_pcs)
(ltpy_get_all_source_lines): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-linetable.c