From: Anders Jansson <anders@janssonsoftware.se>
To: <gdb@sourceware.org>
Subject: Detection of a running target/process
Date: Thu, 18 Mar 2021 09:14:27 +0100 [thread overview]
Message-ID: <478817d4-db85-43ed-621c-68f1d17e8ee9@janssonsoftware.se> (raw)
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
next reply other threads:[~2021-03-18 8:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 8:14 Anders Jansson [this message]
2021-03-29 16:39 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=478817d4-db85-43ed-621c-68f1d17e8ee9@janssonsoftware.se \
--to=anders@janssonsoftware.se \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).