Use gdbpy_ref in gdbpy_lookup_symbol
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:51:20 +0000 (21:51 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:38 +0000 (19:13 -0700)
commit37fce74fb42f45ec340962170a4b297beede733a
treebd162c1e80fece5f14f3c65b9f2ba3564ea6f542
parent53a0cca3bd0f6ae80b2d6fc34b2873046965c7f0
Use gdbpy_ref in gdbpy_lookup_symbol

This changes gdbpy_lookup_symbol to use gdbpy_ref.

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

* python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-symbol.c