From 1f6d2f100ae6de462f1e81b5de17de059f6b17ef Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 14 Jul 2019 08:21:16 -0600 Subject: Remove NO_DATA_STRING NO_DATA_STRING shouldn't be used. It's referenced in a single spot, in tui_data_window::display_all_data. This patch removes the use and replaces it with the more correct text. A later patch (though not in this series) will remove this call entirely, when it's more obviously correct to do so. gdb/ChangeLog 2019-08-30 Tom Tromey * tui/tui-regs.c (tui_data_window::display_all_data): Change text. * tui/tui-data.h (NO_DATA_STRING): Remove define. --- gdb/tui/tui-regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tui/tui-regs.c') diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 71037d4..24b182f 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -437,7 +437,7 @@ void tui_data_window::display_all_data () { if (regs_content.empty ()) - erase_data_content (NO_DATA_STRING); + erase_data_content (_("[ Register Values Unavailable ]")); else { erase_data_content (NULL); -- cgit v1.1