aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-regs.c2
-rw-r--r--gdb/tui/tui-win.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 9a88e8b..2c53e05 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -607,7 +607,7 @@ tui_reg_command (char *args, int from_tty)
{
printf_unfiltered (_("\"tui reg\" must be followed by the name of a "
"tui reg command.\n"));
- help_list (tuireglist, "tui reg ", -1, gdb_stdout);
+ help_list (tuireglist, "tui reg ", all_commands, gdb_stdout);
}
/* Provide a prototype to silence -Wmissing-prototypes. */
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index 7ea0fec..a97704d 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -333,7 +333,7 @@ tui_command (char *args, int from_tty)
{
printf_unfiltered (_("\"tui\" must be followed by the name of a "
"tui command.\n"));
- help_list (tuilist, "tui ", -1, gdb_stdout);
+ help_list (tuilist, "tui ", all_commands, gdb_stdout);
}
struct cmd_list_element **