btrace: fix output of "set record btrace"
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 1 Feb 2018 13:31:18 +0000 (14:31 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 13 Apr 2018 09:30:15 +0000 (11:30 +0200)
commitb85310e1ec0419c4e1ca091cdd48f7597ebbefd3
treef554d5e6e022afc2bec6b9650c4e170ecd3f9cba
parent1d509aa625f891e20b37b8cee4659771e87b1ba4
btrace: fix output of "set record btrace"

Instead of giving a message that "set record btrace" needs a sub-command,
GDB crashed.  Fix it.  A regression test comes with the next patch.

gdb/
* record-btrace.c (cmd_set_record_btrace): Print sub-commands.
gdb/ChangeLog
gdb/record-btrace.c