Remove unused TUI defines
authorTom Tromey <tom@tromey.com>
Sat, 29 Jun 2019 04:49:10 +0000 (22:49 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:07 +0000 (12:19 -0600)
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.

gdb/ChangeLog
gdb/tui/tui-data.h

index 5f7547b1549876351183892258cd510fe1540fd8..b0a4fd6abe91de72d1b9e573fd664406a5ea3a31 100644 (file)
@@ -1,3 +1,9 @@
+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)
index 48b09b4513543a5879d7b8c8b08b495790d1790c..de52215dc16a9a702817411605a014e489a2ec7c 100644 (file)
@@ -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
This page took 0.031517 seconds and 4 git commands to generate.