aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-28 22:49:10 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:07 -0600
commitd9743a13e0c9e3043ec3ad979534fab44c0f17b2 (patch)
tree54368cf655ab34d0809d60aaafb2009003e5fbef /gdb
parentcaf0bc4e8bafc387c8136c0f63748e56245f779a (diff)
downloadgdb-d9743a13e0c9e3043ec3ad979534fab44c0f17b2.zip
gdb-d9743a13e0c9e3043ec3ad979534fab44c0f17b2.tar.gz
gdb-d9743a13e0c9e3043ec3ad979534fab44c0f17b2.tar.bz2
Remove unused TUI defines
This removes some #defines that were unused in the TUI. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR) (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove defines.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/tui/tui-data.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f7547b..b0a4fd6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2019-07-17 Tom Tromey <tom@tromey.com>
+ * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR)
+ (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove
+ defines.
+
+2019-07-17 Tom Tromey <tom@tromey.com>
+
* tui/tui-winsource.h (tui_erase_source_content)
(tui_clear_source_content): Remove "display_prompt" parameter.
* tui/tui-winsource.c (tui_update_source_window_as_is)
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 48b09b4..de52215 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