Remove in_user_command
authorTom Tromey <tom@tromey.com>
Mon, 1 May 2017 03:04:51 +0000 (21:04 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 13:59:03 +0000 (07:59 -0600)
commit898e0c8e879394ce0fb8a08fe85929a29f3ce55b
tree808f25444ef489b61467910bc462bfe117070d09
parent26fcd5d7572ea1bf0cc697158969749420900e0b
Remove in_user_command

While working on the next patch in this series, I found that the
global in_user_command is not used.  This patch removes it.  (I didn't
think to check Insight until submitting this series; and it's not very
convenient to do so, so if someone has it checked out and could look
at it, that would be nice.)

ChangeLog
2017-08-03  Tom Tromey  <tom@tromey.com>

* top.h (in_user_command): Remove.
* top.c (in_user_command): Remove.
* cli/cli-script.c (do_restore_user_call_depth)
(execute_user_command): Update.
gdb/ChangeLog
gdb/cli/cli-script.c
gdb/top.c
gdb/top.h