[PATCH 3/3] Make exec-file-mismatch compare build IDs

Pedro Alves palves@redhat.com
Mon May 18 13:52:20 GMT 2020


On 5/17/20 7:25 PM, Eli Zaretskii wrote:
>> From: Pedro Alves via Gdb-patches <gdb-patches@sourceware.org>
>>
>> +If the debugger can determine that the executable file running in the
>> +process it is attaching to does not match the current exec-file loaded
>> +by @value{GDBN}, the option @code{exec-file-mismatch} specifies how to
>> +handle the mismatch.  @value{GDBN} tries to compare the files by
>> +comparing their build IDs (@pxref{build ID}).  If build IDs are not
>> +present in either file, @value{GDBN} compares the file names.  The
>> +@code{exec-file-mismatch} option specifies how to handle a mismatch.
> 
> The last sentence is a repetition of what was already said a few
> sentences back.
> 
> The documentation parts are okay with this nit fixed.  Thanks.

Thanks, I've removed that sentence.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list