Re: [PATCH v3 1/9] gdb/ctf: add debug logging in ctfread.c

Simon Marchi
2026-02-28T16:24:24Z

On 2026-02-28 05:12, Eli Zaretskii wrote:
>> From: Simon Marchi <simon.marchi@efficios.com>
>> Cc: Simon Marchi <simon.marchi@polymtl.ca>,
>> Eli Zaretskii <eliz@gnu.org>
>> Date: Fri, 27 Feb 2026 22:51:48 -0500
>>
>> From: Simon Marchi <simon.marchi@polymtl.ca>
>>
>> diff --git a/gdb/NEWS b/gdb/NEWS
>> index d70147144e49..e83d1abd73b3 100644
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -98,6 +98,10 @@ set debug gnu-ifunc on|off
>> show debug gnu-ifunc
>> Turn on or off debug messages related to GNU ifunc resolution.
>>
>> +set debug ctf on|off
>> +show debug ctf
>> + Turn on or off debug messages about CTF reading.
>
> This part is okay.
>
>> --- a/gdb/doc/gdb.texinfo
>> +++ b/gdb/doc/gdb.texinfo
>> @@ -29284,6 +29284,13 @@ exported symbols. The default is off.
>> Displays the current state of displaying debugging messages related to
>> reading of COFF/PE exported symbols.
>>
>> +@cindex CTF debug messages
>> +@item set debug ctf
>
> This should have "[on | off]" appended to it, I think. Okay with that
> nit fixed.
>
> Thanks.
>
> Reviewed-By: Eli Zaretskii <eliz@gnu.org>

Fixed locally, thanks.

Simon