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 04:54 PM, Sandra Loosemore wrote:
> Yesterday I refreshed my build tree for testing some further nios2 
> patches, and started seeing a whole lot of this in my test results:
> 
> (gdb) target remote qa8-centos32-cs:10514
> Remote debugging using qa8-centos32-cs:10514
> (gdb) set remote hardware-watchpoint-limit 1
> (gdb) set mem inaccessible-by-default on

This made me suspect of 0fec99e8be72b091618862eafc14e2741f0ff0d5,
though I'm not seeing how that'd end up in the error
in question.

> (gdb) load
> Loading section .text, size 0x844 lma 0x10000000
> Loading section .eh_frame, size 0x4 lma 0x10000844
> Loading section .rodata, size 0x120 lma 0x10000848
> Loading section .data, size 0x428 lma 0x10000968
> Start address 0x10000040, load size 3472
> Transfer rate: 41 KB/sec, 868 bytes/write.
> (gdb) continue
> Continuing.
> Cannot execute this command without a live selected thread.
> (gdb) ERROR: couldn't run to breakpoint
> 

Odd.  A backtrace at (break at "error") and "set debug infrun/remote"
logs would probably be revealing.

> I think the checkout I used for testing the last nios2 patch I submitted 
> was a couple weeks old.  Pedro, I see you checked in a batch of 
> thread-related changes on Oct 15; do you have any clue what's going 
> wrong here?  I can investigate further if it's not obvious, or somebody 
> is not already working on this....

Yeah, I pushed in the whole software single-step rework that day.
Might well be related, given this target uses software single-step.

But it's indeed not obvious and it's the first I hear about it.

Thanks,
Pedro Alves


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