aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/record-btrace.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f379680..c3f59e6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
+ * record-btrace.c (cmd_set_record_btrace): Print sub-commands.
+
+2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
+
* infrun.c (process_event_stop_test): Call
gdbarch_in_indirect_branch_thunk.
* gdbarch.sh (in_indirect_branch_thunk): New.
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index 7264b8e..455e254 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -2958,7 +2958,10 @@ cmd_record_btrace_start (const char *args, int from_tty)
static void
cmd_set_record_btrace (const char *args, int from_tty)
{
- cmd_show_list (set_record_btrace_cmdlist, from_tty, "");
+ printf_unfiltered (_("\"set record btrace\" must be followed "
+ "by an appropriate subcommand.\n"));
+ help_list (set_record_btrace_cmdlist, "set record btrace ",
+ all_commands, gdb_stdout);
}
/* The "show record btrace" command. */