Cannot execute this command without a live selected thread.

Sandra Loosemore sandra@codesourcery.com
Mon Oct 27 19:53:00 GMT 2014


On 10/24/2014 11:40 AM, Pedro Alves wrote:
>
> Please give this a try.
>
>  From 2062235a91a3c69e73c39b0f8a4f78f4ec396931 Mon Sep 17 00:00:00 2001
> From: Pedro Alves <palves@redhat.com>
> Date: Fri, 24 Oct 2014 18:27:14 +0100
> Subject: [PATCH] gdb/ 2014-10-24  Pedro Alves  <palves@redhat.com>
>
> 	* remote.c (remote_thread_alive): New, factored out from ...
> 	(remote_thread_alive): ... this.
> 	(remote_update_thread_list): Bail out before deleting threads if
> 	the target returned an empty list, and, the current thread has a
> 	magic/fake ptid.

This worked for me.  The remaining ERRORs in the nios2-elf test results 
are due to the GCC switch to C11.

-Sandra



More information about the Gdb-patches mailing list