2 Thread 536873216 (No Name : : READY) Remote 'g' packet reply is too long: 00000000000000000000000000000000310600080000000000000000000000000000000000000000000000000000000000000000c009002000000000a10500080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Are you actually setting the name of the thread? If not, try that and see if it makes a difference.
In the above example I'm not doing any naming, since it's a fresh 2.6.2 download. But in my own code I do set the thread names, and then I do see them (in the location where it now says "No Name"), but for the rest the results are exactly the same.
Those thread extensions seem pretty fresh in the grand scheme of things. Wouldn't surprise me if there were gotchas.
It could also be that the "Remote 'g' packet reply" error is sort of a catch all any time the byte stream gets hosed. I.e., there was a known hosing due to FP registers that's been fixed. Maybe you've discovered a second hosing?
Well, it obviously
is FP register related, I just don't know how to fix it. If you check that large 000000000....3106000...... packet, you'll see that it is 17x 32-bit registers for the usual regs, and then 8x 96-bit + 1x 32-bit for the FP registers. But the curious thing is, that in the fault state ... when I do
monitor reg I still get the correct registers. But the moment I do
info threads ... booom! g packet reply too long.
Maybe the current version has a fun regression? Given that you are using chibios, I take it you also debug it with thread support? Or do you just view it as a single thread? Because the latter works just fine, it's viewing threads to makes it go tits up. If you can succesfully do an
info threads on your setup, could you tell me the exact git revision?
Mmmh, or maybe this is the ever popular 32-bit vs 64 bit issue. I read about a similar issue (now fixed) that got triggered on 32-bit, and accidentally worked on 64-bit. And the problem is on a 32-bit box, so worth checking it on 64-bit.