aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-21 06:16:06 -0600
committerTom Tromey <tom@tromey.com>2019-06-25 07:48:46 -0600
commitdd835f8b70a2dfb4d8b84a4744606a9c922aeb25 (patch)
treed7c0fc5b399208cdc5c3536a42849c5cf5c1bf6f /gdb/tui/tui-data.h
parentbd7db367c4bc72bef9c7848b99aaaa1431cf1672 (diff)
downloadgdb-dd835f8b70a2dfb4d8b84a4744606a9c922aeb25.zip
gdb-dd835f8b70a2dfb4d8b84a4744606a9c922aeb25.tar.gz
gdb-dd835f8b70a2dfb4d8b84a4744606a9c922aeb25.tar.bz2
Remove command from tui_which_element
union tui_which_element has a "command" member, but it is never used. This removes it. gdb/ChangeLog 2019-06-25 Tom Tromey <tom@tromey.com> * tui/tui-data.h (struct tui_command_element): Remove. (union tui_which_element) <command>: Remove. * tui/tui-data.c (init_content_element): Remove CMD_WIN case. Add assert. (free_content_elements): Remove CMD_WIN case.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r--gdb/tui/tui-data.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 0990a2d..5c1f2bd 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -201,12 +201,6 @@ struct tui_data_element
};
-/* Elements in the command window content. */
-struct tui_command_element
-{
- char *line;
-};
-
#ifdef PATH_MAX
# define MAX_LOCATOR_ELEMENT_LEN PATH_MAX
#else
@@ -234,7 +228,6 @@ union tui_which_element
struct tui_source_element source; /* The source elements. */
struct tui_gen_win_info *data_window; /* Data display elements. */
struct tui_data_element data; /* Elements of data_window. */
- struct tui_command_element command; /* Command elements. */
};
struct tui_win_element