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: Sporadic failures of selftest tests


On 10/20/2017 01:51 PM, Ulrich Weigand wrote:
> Pedro Alves wrote:
> 
>> Probably the best fix would be to move away from selftest
>> entirely and convert them to unit tests instead.
>>
>> Meanwhile, how about this as an easy fix?  We could try
>> playing games with making functions extern, but maybe
>> that'd break again with LTO.
>>
>> Seems to work for gdb.gdb/selftest.exp and gdb.gdb/complaints.exp
>> at least.
>>
>> (I think we can use __attribute__ directly because
>> include/ansidecl.h defines it to empty on non-gcc or
>> older gccs.)
>>
>> From: Pedro Alves <palves@redhat.com>
>> Date: 2017-10-17 15:04:11 +0100
>>
>> prevent inlining captured_command_loop
> 
> Makes sense to me ...

Alright, now pushed:
  https://sourceware.org/ml/gdb-patches/2017-10/msg00664.html

Thanks,
Pedro Alves


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