aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-14 08:21:16 -0600
committerTom Tromey <tom@tromey.com>2019-08-30 12:57:02 -0600
commit1f6d2f100ae6de462f1e81b5de17de059f6b17ef (patch)
tree688cfad13473eae758b185c930ec8a5bfd2db474 /gdb/tui/tui-regs.c
parent6744bcad05396a5901149a202270e523e454769d (diff)
downloadgdb-1f6d2f100ae6de462f1e81b5de17de059f6b17ef.zip
gdb-1f6d2f100ae6de462f1e81b5de17de059f6b17ef.tar.gz
gdb-1f6d2f100ae6de462f1e81b5de17de059f6b17ef.tar.bz2
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 <tom@tromey.com> * tui/tui-regs.c (tui_data_window::display_all_data): Change text. * tui/tui-data.h (NO_DATA_STRING): Remove define.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r--gdb/tui/tui-regs.c2
1 files changed, 1 insertions, 1 deletions
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);