[RFA 37/67] Constify some commands in record.c

Tom Tromey tom@tromey.com
Sat Sep 23 04:05:00 GMT 2017


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> On 09/21/2017 06:09 AM, Tom Tromey wrote:
>> @@ -456,13 +458,15 @@ get_context_size (char **arg)
>> if (!isdigit (*pos))
>> error (_("Expected positive number, got: %s."), pos);
>> 
>> -  return strtol (pos, arg, 10);
>> +   long result = strtol (pos, &end, 10);
>> +   *arg = end;
>> +   return result;
>> }

Pedro> Indentation looks odd.  [3 spaces instead of 2?]

I've fixed it.

Tom



More information about the Gdb-patches mailing list