Use gdbpy_ref in enumerate_args
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:57:28 +0000 (10:57 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:06 +0000 (19:14 -0700)
commit06fc9bf7d92d0bc857f3e8c109686f36aea5509c
tree89f1498bd84a3d158c53069db1b9cc435efea44b
parent830a493402da4a055bf2d34ab300a83305391095
Use gdbpy_ref in enumerate_args

This changes enumerate_args to use gdbpy_ref, and gets rid of many
gotos.

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

* python/py-framefilter.c (enumerate_args): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-framefilter.c