I have the version 1.0 of the "J-Link GDB ServerThread Awareness SDK
" (UM08030) from June 17, 2016. However, since then j-link has gained support for RISC-V (great!). Is there a new version of this SDK available, or is there a planned release? After some experiments I have figured out some things but some questions remain. For example,it seems that I can't publish all the registers through RTOS_GetThreadRegList() since there seems to be too much data.
Also, I think that this function is hard to implement for use on RISC-V since the RISC-V ABI defines register x3 to be a global pointer, which therefore should be read directly from the CPU since a thread probably don't have its own copy of it. However, RTOS_GetThreadRegList() can't mark specific registers to be read directly by the GDB server, it's all or nothing. I could of course provide the value in the implementation if I could read CPU registers from my code, but I can't seem to find any support for that in this SDK.
So the question is, is there an updated "J-Link GDB Server Thread Awareness SDK"?
" (UM08030) from June 17, 2016. However, since then j-link has gained support for RISC-V (great!). Is there a new version of this SDK available, or is there a planned release? After some experiments I have figured out some things but some questions remain. For example,it seems that I can't publish all the registers through RTOS_GetThreadRegList() since there seems to be too much data.
Also, I think that this function is hard to implement for use on RISC-V since the RISC-V ABI defines register x3 to be a global pointer, which therefore should be read directly from the CPU since a thread probably don't have its own copy of it. However, RTOS_GetThreadRegList() can't mark specific registers to be read directly by the GDB server, it's all or nothing. I could of course provide the value in the implementation if I could read CPU registers from my code, but I can't seem to find any support for that in this SDK.
So the question is, is there an updated "J-Link GDB Server Thread Awareness SDK"?