public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Philipp Tomsich <philipp.tomsich@vrull.eu>
To: gcc@gcc.gnu.org
Subject: [AArch64] Storing a copy of all function arguments on the stack for debug/instrumentation?
Date: Wed, 6 Jul 2022 13:49:52 +0200	[thread overview]
Message-ID: <CAAeLtUC7Rj+9hP+fWGnB7=JJCRaPHB-QvkkSHcsn4H7i-BB0xA@mail.gmail.com> (raw)

To aid in debugging and instrumentation (we would like to look at a stopped
program and unwind while recording all argument values), I would like to
either store a copy of all register arguments on the caller's stack or
record them in the callee's stack on function entry.

Both options are straightforward to implement, but I'd like to avoid
duplicating work.
Has anyone been working on something like this?

Thanks,
Philipp.

                 reply	other threads:[~2022-07-06 11:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAAeLtUC7Rj+9hP+fWGnB7=JJCRaPHB-QvkkSHcsn4H7i-BB0xA@mail.gmail.com' \
    --to=philipp.tomsich@vrull.eu \
    --cc=gcc@gcc.gnu.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).