[PATCH] New --enable-threading configure option to control use of threads in GDB/GDBserver

Luis Machado luis.machado@linaro.org
Wed Dec 15 20:00:54 GMT 2021


On 12/15/21 4:27 PM, Eli Zaretskii wrote:
>> Cc: Eli Zaretskii <eliz@gnu.org>
>> From: Luis Machado <luis.machado@linaro.org>
>> Date: Wed, 15 Dec 2021 14:17:55 -0300
>>
>> diff --git a/gdb/NEWS b/gdb/NEWS
>> index 13b66286876..3f78ace82bb 100644
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -3,6 +3,17 @@
>>
>>    *** Changes since GDB 11
>>
>> +* Configure changes
>> +
>> +--enable-threading
>> +
>> +  Enable or disable multithreaded symbol loading.  This is enabled
>> +  by default, but passing --disable-threading or --enable-threading=no
>> +  to configure will disable it.
>> +
>> +  Disabling this can cause a performance penalty when there are a lot of
>> +  symbols to load, but is useful for debugging purposes.
>> +
>>    * New commands
> 
> Thanks, this is OK.
> 

Pushed now.


More information about the Gdb-patches mailing list