>>>>> "Matthias" == Matthias Welwarsky <[email protected]> writes:
Matthias> On Donnerstag, 13. September 2018 21:23:25 CEST Tim Newsome
Matthias> wrote:
>> Almost. The `-rtos riscv` hack is still not in, but otherwise it
>> should
>> work. Multi-core should work in multi-gdb mode.
Matthias> Tim, please check if http://openocd.zylin.com/#/c/3999/ is a
Matthias> sufficient replacement for the rtos hack. I'm pretty sure it's
Matthias> practically the same and I prefer to merge this instead of an
Matthias> architecture-bound solution.
Hello,
gdb now is distributed also python enabled. This allows gdb to load python
code to enable the RTOS awareness. The python approach is not specific to
some on-chip debugger and so also helpfull for other projects. I have a
working solution for NutOS(Ethernut):
https://sourceforge.net/p/ethernut/code/HEAD/tree/trunk/nut/tools/gdb/
The code is based on an
Fake ChibiOS 2 thread support from Python in GDB:
https://github.com/gsmcmullin/gdb_chibios
Find some more discussion at
https://github.com/blacksphere/blackmagic/issues/229
As Gareth states:
* It fakes thread support in GDB by overriding the thread and info
threads commands from Python.
* Because of this it obviously won't work with frontends using
the MI interface.
Does the OpenOCD RTOS awareness code work with the MI Interface?
Perhaps OpenOCD should also consider the Python approach.
Bye
--
Uwe Bonnes [email protected]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel