aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-13 15:45:14 -0600
committerTom Tromey <tom@tromey.com>2019-08-20 16:22:03 -0600
commit605dc2c21d145b9eeaa2456dd43512ef28e02dbd (patch)
tree99faf62657e1efdd6b9ee3106906e6144fb5aee7 /gdb/tui/tui-data.h
parent722a298cca946e8dd219a6e55ae48fa48ea4d994 (diff)
downloadfsf-binutils-gdb-605dc2c21d145b9eeaa2456dd43512ef28e02dbd.zip
fsf-binutils-gdb-605dc2c21d145b9eeaa2456dd43512ef28e02dbd.tar.gz
fsf-binutils-gdb-605dc2c21d145b9eeaa2456dd43512ef28e02dbd.tar.bz2
Some i18n fixes for the TUI
The TUI has a few #defines that hold user-visible strings. As these are only used in a single spot, this patch removes the defines, preferring direct use of the string where needed. Furthermore, now the strings are wrapped in _(), which is friendlier for i18n purposes. gdb/ChangeLog 2019-08-20 Tom Tromey <tom@tromey.com> * tui/tui-source.h (struct tui_source_window): Update. * tui/tui-regs.c (tui_show_registers): Update. * tui/tui-disasm.h (struct tui_disasm_window): Update. * tui/tui-data.h (NO_SRC_STRING, NO_DISASSEM_STRING) (NO_REGS_STRING): Remove defines.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r--gdb/tui/tui-data.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 7993c63..0432a53 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -103,9 +103,6 @@ public:
/* Constant definitions. */
#define DEFAULT_TAB_LEN 8
-#define NO_SRC_STRING "[ No Source Available ]"
-#define NO_DISASSEM_STRING "[ No Assembly Available ]"
-#define NO_REGS_STRING "[ Register Values Unavailable ]"
#define NO_DATA_STRING "[ No Data Values Displayed ]"
#define SRC_NAME "src"
#define CMD_NAME "cmd"