From 898e0c8e879394ce0fb8a08fe85929a29f3ce55b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 30 Apr 2017 21:04:51 -0600 Subject: 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 * 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/top.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 2504eb6..43bf0d4 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -129,10 +129,6 @@ show_confirm (struct ui_file *file, int from_tty, value); } -/* Flag to indicate whether a user defined command is currently running. */ - -int in_user_command; - /* Current working directory. */ char *current_directory; -- cgit v1.1