aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-30 21:04:51 -0600
committerTom Tromey <tom@tromey.com>2017-08-03 07:59:03 -0600
commit898e0c8e879394ce0fb8a08fe85929a29f3ce55b (patch)
tree808f25444ef489b61467910bc462bfe117070d09 /gdb/top.h
parent26fcd5d7572ea1bf0cc697158969749420900e0b (diff)
downloadgdb-898e0c8e879394ce0fb8a08fe85929a29f3ce55b.zip
gdb-898e0c8e879394ce0fb8a08fe85929a29f3ce55b.tar.gz
gdb-898e0c8e879394ce0fb8a08fe85929a29f3ce55b.tar.bz2
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.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 452a381..5d7cb1f 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -218,7 +218,6 @@ extern void ui_unregister_input_event_handler (struct ui *ui);
/* From top.c. */
extern char *saved_command_line;
-extern int in_user_command;
extern int confirm;
extern char gdb_dirbuf[1024];
extern int inhibit_gdbinit;