aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-11-12 11:32:05 -0700
committerTom Tromey <tom@tromey.com>2017-01-10 19:13:54 -0700
commita7785f8c797183eb363e95c201343df67d8536c6 (patch)
treee01b321031d2d699f3b9f96d50f22d2bb48a91f7 /gdb/ChangeLog
parent2865bfce3875fa16046b0a987d98ab19fc8bbb9a (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 618150c..d8f2809 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2017-01-10 Tom Tromey <tom@tromey.com>
+
* python/py-param.c (get_set_value, get_show_value): Use
gdbpy_enter, gdbpy_ref.