zhangyu-duck opened a new pull request, #21639:
URL: https://github.com/apache/nuttx/pull/21639
## Summary
Fill the TriCore register table in `g_tcbinfo`, so that debug tools
such as gdbstub and coredump can read the saved task registers.
- Add the TCB offsets of all registers, in the order GDB expects
(d0-d15, a0-a15, lcx, fcx, pcx, psw, pc).
- Report the PCXI saved in the upper context as pcx.
- Add parentheses around the `TCB_REG_OFF()` argument, so that offset
expressions are evaluated correctly.
## Impact
TriCore debug and coredump only. The `TCB_REG_OFF()` change does not
affect other architectures, which pass a single register index.
Depends on https://github.com/apache/nuttx/pull/21512
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]