|
From: Liviu I. <il...@li...> - 2017-03-17 09:27:34
|
> On 17 Mar 2017, at 10:18, Freddie Chopin <fre...@op...> wrote: > > Are you proposing an universal, system-agnostic data format, which > would allow to debug any RTOS which provides that data in OpenOCD? that would be really nice, but for now it is not realistic. the DRTM library will obviously work only for systems that use a collection type that is known, but this library knowledge can be grown incrementally, as needed. but the basic idea of DRTM is not to support all collection types available in the galaxy, but to avoid hardcoding into the debugging tools any offsets and other data that might change between builds/versions, and to provide this support to multiple tools (like OpenOCD, J-Link, QEMU). if for distortos you can guarantee that such offsets will never change in time, than you are lucky, you do not need anything like DRTM, but µOS++ is highly configurable and the structure of the system objects can change not only between versions, but even between builds for the same version, based on configuration options (for example with or without statistics), and I cannot/do not want to commit on keeping these offsets frozen forever (and ever). regards, Liviu |