Use gdbpy_enter in py-cmd.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 23:02:16 +0000 (16:02 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:40 +0000 (19:13 -0700)
commit6ba0cd406511d3edbe643f5e599d79538febedc5
tree070a428a1d230bb2b1ae1b9c7285b64b5501dd42
parentde2dc875c2ddb731741f3c326545ff91fd587dd5
Use gdbpy_enter in py-cmd.c

Change py-cmd.c to use gdbpy_enter.

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

* python/py-cmd.c (cmdpy_destroyer)
(cmdpy_completer_handle_brkchars, cmdpy_completer): Use
gdbpy_enter.
gdb/ChangeLog
gdb/python/py-cmd.c