Use gdbpy_enter in py-unwind.c
authorTom Tromey <tom@tromey.com>
Tue, 8 Nov 2016 03:41:50 +0000 (20:41 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:45 +0000 (19:13 -0700)
commitc0171de646ddd85bac9d4bb1ebdf601f7ba7eeab
treecc746fcbaf5b954778bc6cfcd71225039332f46d
parentf18e226ff84f7fba9ce7197ed7a2969eba231b4d
Use gdbpy_enter in py-unwind.c

Change py-unwind.c to use gdbpy_enter.

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

* python/py-unwind.c (pending_frame_invalidate): Remove.
(pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
gdb/ChangeLog
gdb/python/py-unwind.c