aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-09-15 08:54:03 -0600
committerTom Tromey <tromey@adacore.com>2020-09-15 08:54:03 -0600
commitcbe256847e19f044039afeba7b152ef19d9e0635 (patch)
tree5cb5eef4ef2fab306271fb9ca27749b72ce62298 /gdb/top.h
parentdb92ac4568f1d4cc1a3409098d033afbe8b555f5 (diff)
downloadgdb-cbe256847e19f044039afeba7b152ef19d9e0635.zip
gdb-cbe256847e19f044039afeba7b152ef19d9e0635.tar.gz
gdb-cbe256847e19f044039afeba7b152ef19d9e0635.tar.bz2
Remove ui::num
I noticed that nothing uses ui::num, so this patch removes it. gdb/ChangeLog 2020-09-15 Tom Tromey <tromey@adacore.com> * top.c (ui::ui): Update. (highest_ui_num): Remove. * top.h (struct ui) <num>: Remove.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/top.h b/gdb/top.h
index fd99297..92b0964 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -65,9 +65,6 @@ struct ui
/* Pointer to next in singly-linked list. */
struct ui *next;
- /* Convenient handle (UI number). Unique across all UIs. */
- int num;
-
/* The UI's command line buffer. This is to used to accumulate
input until we have a whole command line. */
struct buffer line_buffer;