From: Tom Tromey Date: Sun, 10 Sep 2017 03:46:34 +0000 (-0600) Subject: Constify some commands in record-btrace.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdb34d4a1cf2553a58dc993bfb6f78716e0d1c43;p=binutils-gdb.git Constify some commands in record-btrace.c gdb/ChangeLog 2017-09-27 Tom Tromey * record-btrace.c (cmd_record_btrace_bts_start) (cmd_record_btrace_pt_start): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83d28c7c1d5..936ff90b1ac 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-09-27 Tom Tromey + + * record-btrace.c (cmd_record_btrace_bts_start) + (cmd_record_btrace_pt_start): Constify. + 2017-09-27 Tom Tromey * symmisc.c (maintenance_print_symbols) diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 783e5a17aab..77844bc52a5 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -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."));