aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-30 21:15:58 -0600
committerTom Tromey <tom@tromey.com>2017-08-03 07:59:05 -0600
commitb51b225eb9b03b627967108ee3de38ada5de219d (patch)
tree561756a2e1e30a326c9b5653522393b3e279d3b3 /gdb/ChangeLog
parentac991630ca57ba6a00d0d1358786164248d140fc (diff)
downloadgdb-b51b225eb9b03b627967108ee3de38ada5de219d.zip
gdb-b51b225eb9b03b627967108ee3de38ada5de219d.tar.gz
gdb-b51b225eb9b03b627967108ee3de38ada5de219d.tar.bz2
Use a scoped_restore for command_nest_depth
This changes a couple of places to use a scoped_restore when manipulating command_nest_depth. ChangeLog 2017-08-03 Tom Tromey <tom@tromey.com> * cli/cli-script.c (execute_user_command) (execute_control_command): Use scoped_restore.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index be5fd55..9337365 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2017-08-03 Tom Tromey <tom@tromey.com>
+ * cli/cli-script.c (execute_user_command)
+ (execute_control_command): Use scoped_restore.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
* cli/cli-script.c (do_restore_user_call_depth): Remove.
(execute_user_command): Remove user_call_depth; use
user_args_stack's size instead.