zephyr/subsys/debug
Daniel Glöckner c9e7a5b6b0 debug: openocd: change how we manage differences between versions
Every time the array of offsets was changed, it was changed in a
backward compatible way by appending elements to the end. The version
number was incremented to inform OpenOCD about the existence of the new
elements. But the patch for OpenOCD to support Zephyr has never been
updated to support anything else than version 0, causing OpenOCD to
reject recent Zephyr versions. So the idea of using a version number to
track compatible changes didn't work out.

Therefore add another symbol that can be read by OpenOCD to get the
number of elements in the array. This value is automatically calculated
during compilation. The version number element should from now on be
incremented only for incompatible changes.

Fixes: #13448

Signed-off-by: Daniel Glöckner <dg@emlix.com>
2019-02-27 13:25:28 -06:00
..
tracing debug: CTF Tracing with POSIX backend 2019-02-01 08:56:02 -05:00
CMakeLists.txt systemview: add support natively using tracing hooks 2018-08-21 05:45:47 -07:00
Kconfig debug: Place Kconfig tracing options in debug submenu 2019-02-14 10:29:06 -05:00
Kconfig.segger kconfig: Remove redundant 'default n' properties 2019-02-27 09:25:22 +01:00
openocd.c debug: openocd: change how we manage differences between versions 2019-02-27 13:25:28 -06:00