Detection of a running target/process
Anders Jansson
anders@janssonsoftware.se
Thu Mar 18 08:14:27 GMT 2021
Hi,
Created a BZ regarding this some time ago:
https://sourceware.org/bugzilla/show_bug.cgi?id=27439
Will try this list and see if anyone has an idea.
As i understand it the RSP-protocol has the "stop reply" packets used by
an RSP-stub/GDB-server to inform GDB-client that my debug target has
stopped. But i cant find any information if its possible for an
RSP-stub/GDB-server to inform the GDB-client if my debug target starts
to execute by some external event not controlled by the GDB-client itself.
For example:
* During a GDB session (target halted) i repower/reset an development
board and the process starts to execute. Can GDB be notified about this?
* In a heterogeneous multi-core scenario where the starting/stopping of
the cores are controlled by ARM cortex-M Cross Triggering. Different
cores are controlled by multiple GDB-sessions. Perhaps the same issue as
above. One GDB-session needs to get notified that the debug target
started to execute.
Anyone know if there exists some RSP support for this. Some sort of
"Running reply"?
Thanks in advance
Anders Jansson
--
Anders Jansson
Software Engineer
JanssonSoftware AB
Hansinggatan 42 | SE-50753 Borås | Sweden
Mobile +46 (0)76 8184622
More information about the Gdb
mailing list