public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Michael Woerister <michaelwoerister@posteo.net>
To: gdb@sourceware.org
Subject: Executing code if debuggee is a crash dump?
Date: Tue, 24 Aug 2021 10:07:06 +0000	[thread overview]
Message-ID: <e0b2f159b26a4d53b4d01bcbddbcd755@posteo.de> (raw)

Hi everyone,

I'm looking into implementing debugger extensions that help with 
debugging crash dumps of "async" Rust executables. Such an extension 
would need to inspect the complex internals of several async runtime 
implementations. We could potentially make the extension more robust and 
easier to maintain if we provided a standardized inspection API in the 
various runtimes and have the debugger interact with that. The functions 
behind this API would be restricted to not interact with the environment 
(e.g. not allocate memory, etc).

However, my research so far indicates that neither GDB nor any other 
debugger is capable of executing code in a crash dump. Is that true or 
am I overlooking something?
Would anybody here be able give me a definite answer to this question?

Thanks a lot for your help!

-Michael


             reply	other threads:[~2021-08-24 10:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24 10:07 Michael Woerister [this message]
2021-08-24 13:50 ` Simon Marchi
2021-08-25  8:56   ` Michael Woerister
2021-08-24 16:09 ` Christian Biesinger
2021-08-25  9:02   ` Michael Woerister

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=e0b2f159b26a4d53b4d01bcbddbcd755@posteo.de \
    --to=michaelwoerister@posteo.net \
    --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).