[RFA 37/67] Constify some commands in record.c
Tom Tromey
tom@tromey.com
Sat Sep 23 04:05:00 GMT 2017
>>>>> "Markus" == Metzger, Markus T <markus.t.metzger@intel.com> writes:
>> static void
>> cmd_record_save (char *args, int from_tty)
>> {
>> - char *recfilename, recfilename_buffer[40];
>> + const char *recfilename;
>> + char recfilename_buffer[40];
>>
>> require_record_target ();
Markus> This isn't really related to adding a const add_cmd () version.
Thanks for noticing this. I forgot to change the signature of
cmd_record_save. I've updated my patch so that it takes a
"const char *".
Tom
More information about the Gdb-patches
mailing list