diff options
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/tui/tui-data.h | 3 | ||||
-rw-r--r-- | gdb/tui/tui-disasm.h | 2 | ||||
-rw-r--r-- | gdb/tui/tui-regs.c | 2 | ||||
-rw-r--r-- | gdb/tui/tui-source.h | 2 |
5 files changed, 11 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d9e676a..c4a1179 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +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. + 2019-08-20 Conrad Meyer <cem@FreeBSD.org> * remote.c (remote_target::remote_btrace_maybe_reopen): Avoid 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" diff --git a/gdb/tui/tui-disasm.h b/gdb/tui/tui-disasm.h index d989532..bfddfa0 100644 --- a/gdb/tui/tui-disasm.h +++ b/gdb/tui/tui-disasm.h @@ -50,7 +50,7 @@ struct tui_disasm_window : public tui_source_window_base void erase_source_content () override { - do_erase_source_content (NO_DISASSEM_STRING); + do_erase_source_content (_("[ No Assembly Available ]")); } protected: diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 36973ff..8fcb7bc 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -165,7 +165,7 @@ tui_show_registers (struct reggroup *group) else { TUI_DATA_WIN->current_group = 0; - TUI_DATA_WIN->erase_data_content (NO_REGS_STRING); + TUI_DATA_WIN->erase_data_content (_("[ Register Values Unavailable ]")); } } diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h index 9c30136..a700212 100644 --- a/gdb/tui/tui-source.h +++ b/gdb/tui/tui-source.h @@ -53,7 +53,7 @@ struct tui_source_window : public tui_source_window_base void erase_source_content () override { - do_erase_source_content (NO_SRC_STRING); + do_erase_source_content (_("[ No Source Available ]")); } void show_symtab_source (struct gdbarch *, struct symtab *, |