Note: lists.zephyrproject.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
how to use the debug subsys and what it is used for?
in the directory zephyr/subsys/debug/, gdb_server.c used for what and what scenario can we use this function?
can this be used on arm ? what the difference between it and the bare-metal debug environment based on jlink or DS-5 ?
thanks for your kindly reply.
Benjamin Walsh <benjamin.walsh@...>
in the directory zephyr/subsys/debug/, gdb_server.c used for what andThe GDB server was used in WR Rocket, a product based on an early zephyr
codebase. It was used for both loading images and debugging when a
hardware solution was not available, such as on the Intel Galileo
platform. In fact, that is the only platform it has been used seriously
(I think it worked with QEMU as well).
It has never been used on ARM in production (there was an internal
prototype at some point), and the ARM zephyr kernel lacks the support to
work with it.
I don't know the status of it anymore, since it has not been used with
the recent code base (that I know of), even for galileo.
Benjamin Walsh, SMTS
WR VxWorks Virtualization Profile
Zephyr kernel maintainer