[Libre-soc-bugs] [Bug 499] Create experimental gdb protocol implementation in nmigen for debugging
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Sep 24 18:13:47 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=499
--- Comment #4 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #3)
> the other thing that occurred to me jacob is that Staf would like to
> do scans of IO ports as part of the ASIC test.
This is possible with gdb's debugger protocol, you just send a custom
interpreter command using gdb's `monitor` command (made up syntax):
(gdb) monitor set port 1AE 0
this is how you can access openocd's command prompt from gdb.
Alternatively, you could write to the GPIO ports' memory using a memory write
command.
One of the nice features of GDB's protocol is it supports debugging
multi-threaded programs (we would interpret gdb's threads as processor cores).
I don't know if the jtag protocol supports that.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list