On Fri, 2018-09-14 at 11:24 +0200, Uwe Bonnes wrote: > 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.
It would be fantastic if a similar approach could be used for cases where MI interface is used (probably in all IDEs). This reminded me about a discussion I started some time ago: https://sourceforge.net/p/openocd/mailman/openocd-devel/thread/1490175792.1242.7.camel%40op.pl/ Regards, FCh _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
