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: Cannot execute this command without a live selected thread.


On 10/24/2014 06:07 PM, Sandra Loosemore wrote:
> Sending packet: $?#3f...Packet received: S00
> Sending packet: $qfThreadInfo#bb...Packet received: l

Huh, I think this is the problem.

So this target supports qfThreadInfo, but then it's returning
an empty thread list...  remote_update_thread_list will delete
threads from GDB's list that are not found in the thread list that
the target reported.  Why is the target reporting that empty list?

See ab970af19746364a4f236bebc238ebb036adc898.

We may be able add a workaround for this.  :-/  Just in case,
can you confirm that the current thread's ptid (inferior_ptid)
is magic_null_ptid?

> Sending packet: $Hc-1#09...Packet received: 
> Sending packet: $qC#b4...Packet received: unset

Thanks,
Pedro Alves


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