Replies: 2 comments
-
|
Thanks for the interest in it! Unfortunately, there are a few hurdles to using the CHERIoT-customized debugger setup today:
The good news is that you should be able to use OpenOCD + vanilla GDB or LLDB to debug Sonata "as if" it were a normal RV32E system. Most things should just work, but don't be surprised if there are glitches. There is some basic documentation for using it in this way here: https://lowrisc.github.io/sonata-system/doc/ip/dm.html |
Beta Was this translation helpful? Give feedback.
-
|
In addition, the MPact simulator in the dev container has an integrated debugger, which may be more useful for debugging in simulation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I saw in discussion #197 that LLDB support is now available for CHERIoT. I’d like to get this working inside the CHERIoT devcontainer, but I haven’t been able to find step-by-step setup instructions.
Could someone outline the steps (or point me to any documentation in progress) for:
Setting up LLDB inside the devcontainer
Attaching it to a running CHERIoT program (simulation or hardware)
Any configuration files or scripts needed
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions