This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Cannot execute this command without a live selected thread.
- From: Pedro Alves <palves at redhat dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 24 Oct 2014 19:15:10 +0100
- Subject: Re: Cannot execute this command without a live selected thread.
- Authentication-results: sourceware.org; auth=none
- References: <544A7648 dot 6060102 at codesourcery dot com> <544A7930 dot 4040909 at redhat dot com> <544A8741 dot 9090705 at codesourcery dot com> <544A8B0C dot 5000509 at redhat dot com> <544A92DD dot 3010503 at codesourcery dot com>
On 10/24/2014 06:56 PM, Sandra Loosemore wrote:
> I dug around in the svn history for our stub library. We made that
> change to the thread packet handling because if it returned an empty
> response to qfThreadInfo instead, GDB persistently complained:
>
> warning: RMT ERROR : failed to get remote thread list.
>
> especially when being run from Eclipse.
>
> It seemed then that debugging worked OK in spite of the warnings, but
> the messages looked both frightening and incomprehensible to users.
> This was back in 2010, so maybe GDB doesn't do that any more.
Ah, yes, that rang a bell. Vladimir fixed it in GDB, in 2010:
https://sourceware.org/ml/gdb-patches/2010-10/msg00293.html
Thanks,
Pedro Alves