This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 37/67] Constify some commands in record.c
>>>>> "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