diff options
author | Tom Tromey <tom@tromey.com> | 2016-11-12 11:32:05 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-01-10 19:13:54 -0700 |
commit | a7785f8c797183eb363e95c201343df67d8536c6 (patch) | |
tree | e01b321031d2d699f3b9f96d50f22d2bb48a91f7 /gdb/varobj.c | |
parent | 2865bfce3875fa16046b0a987d98ab19fc8bbb9a (diff) | |
download | gdb-a7785f8c797183eb363e95c201343df67d8536c6.zip gdb-a7785f8c797183eb363e95c201343df67d8536c6.tar.gz gdb-a7785f8c797183eb363e95c201343df67d8536c6.tar.bz2 |
Use gdbpy_enter in python.c
This changes the last functions in python.c to use gdbpy_enter. I
split gdbpy_finish_initialization into two functions in order to avoid
some "goto"s.
2017-01-10 Tom Tromey <tom@tromey.com>
* python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
(do_finish_initialization): New function. Use gdbpy_ref.
(gdbpy_finish_initialization): Use gdbpy_enter. Call
do_finish_initialization.
Diffstat (limited to 'gdb/varobj.c')
0 files changed, 0 insertions, 0 deletions