Remove user_call_depth
authorTom Tromey <tom@tromey.com>
Mon, 1 May 2017 03:08:31 +0000 (21:08 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 13:59:04 +0000 (07:59 -0600)
commitac991630ca57ba6a00d0d1358786164248d140fc
treea75397503ae9fd87b8ed15c51c7bb5793e42e31f
parent898e0c8e879394ce0fb8a08fe85929a29f3ce55b
Remove user_call_depth

This changes execute_user_command to remove user_call_depth, using the
size of user_args_stack instead.  This avoids a cleanup.

ChangeLog
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.
gdb/ChangeLog
gdb/cli/cli-script.c