From d9743a13e0c9e3043ec3ad979534fab44c0f17b2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 28 Jun 2019 22:49:10 -0600 Subject: [PATCH] Remove unused TUI defines This removes some #defines that were unused in the TUI. gdb/ChangeLog 2019-07-17 Tom Tromey * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR) (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove defines. --- gdb/ChangeLog | 6 ++++++ gdb/tui/tui-data.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5f7547b1549..b0a4fd6abe9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2019-07-17 Tom Tromey + + * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR) + (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove + defines. + 2019-07-17 Tom Tromey * tui/tui-winsource.h (tui_erase_source_content) diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 48b09b45135..de52215dc16 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -98,17 +98,12 @@ enum tui_box #define NO_DISASSEM_STRING "[ No Assembly Available ]" #define NO_REGS_STRING "[ Register Values Unavailable ]" #define NO_DATA_STRING "[ No Data Values Displayed ]" -#define MAX_CONTENT_COUNT 100 #define SRC_NAME "src" #define CMD_NAME "cmd" #define DATA_NAME "regs" #define DISASSEM_NAME "asm" -#define TUI_NULL_STR "" -#define DEFAULT_HISTORY_COUNT 25 #define HILITE TRUE #define NO_HILITE FALSE -#define WITH_LOCATOR TRUE -#define NO_LOCATOR FALSE #define UNDEFINED_ITEM -1 #define MIN_WIN_HEIGHT 3 #define MIN_CMD_WIN_HEIGHT 3 -- 2.30.2