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: [PATCH][gdb/testsuite] Fix target_supports_scheduler_locking raciness


On 10/04/2018 06:40 PM, Tom de Vries wrote:
> Hi,
> 
> When calling gdb_start_cmd, it's the caller's responsibility to wait for gdb
> to return to the prompt.  In target_supports_scheduler_locking, that's not the
> case, and consequently, target_supports_scheduler_locking fails spuriously.
> 
> Fix by using runto_main instead.
> 
> Build and reg-tested on x86_64-linux.
> 
> OK for trunk?

The fix itself it OK.  Thanks for doing that.  Can you please
submit the gdb-caching-proc.exp separately, with its own rationale?

Thanks,
Pedro Alves


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