This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]