forked from Imagelibrary/binutils-gdb
Constify some commands in record-btrace.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * record-btrace.c (cmd_record_btrace_bts_start) (cmd_record_btrace_pt_start): Constify.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* record-btrace.c (cmd_record_btrace_bts_start)
|
||||
(cmd_record_btrace_pt_start): Constify.
|
||||
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* symmisc.c (maintenance_print_symbols)
|
||||
|
||||
@@ -2883,7 +2883,7 @@ init_record_btrace_ops (void)
|
||||
/* Start recording in BTS format. */
|
||||
|
||||
static void
|
||||
cmd_record_btrace_bts_start (char *args, int from_tty)
|
||||
cmd_record_btrace_bts_start (const char *args, int from_tty)
|
||||
{
|
||||
if (args != NULL && *args != 0)
|
||||
error (_("Invalid argument."));
|
||||
@@ -2905,7 +2905,7 @@ cmd_record_btrace_bts_start (char *args, int from_tty)
|
||||
/* Start recording in Intel Processor Trace format. */
|
||||
|
||||
static void
|
||||
cmd_record_btrace_pt_start (char *args, int from_tty)
|
||||
cmd_record_btrace_pt_start (const char *args, int from_tty)
|
||||
{
|
||||
if (args != NULL && *args != 0)
|
||||
error (_("Invalid argument."));
|
||||
|
||||
Reference in New Issue
Block a user