Use gdbpy_enter in py-breakpoint.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 22:59:41 +0000 (15:59 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:39 +0000 (19:13 -0700)
commitde2dc875c2ddb731741f3c326545ff91fd587dd5
tree4331eb4688cdf3e126dfd5cbeaf9e410578f0f35
parent4ecee2c47da3e91c0571683acb5cfb8400402663
Use gdbpy_enter in py-breakpoint.c

Change py-breakpoint.c to use gdbpy_enter.

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

* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
gdbpy_enter.
(gdbpy_breakpoint_has_cond): Likewise.
gdb/ChangeLog
gdb/python/py-breakpoint.c