public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: William Tambe <tambewilliam@gmail.com>
To: gdb@sourceware.org
Subject: How to determine whether GDB is single-stepping within sim_engine_run() ?
Date: Sun, 9 Aug 2020 14:41:34 -0500	[thread overview]
Message-ID: <CAF8i9mPQ=DY7UMCaLL1kkAr1TfAgCrQAOVJajVDBOOzYjQB9uw@mail.gmail.com> (raw)

Within the sim function sim_engine_run(), is there a way to determine
whether GDB is single-stepping (ie: when using commands next step
nexti stepi) ?

I would like to use that capability to have the simulator disable
interrupts while single-stepping.

             reply	other threads:[~2020-08-09 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-09 19:41 William Tambe [this message]
2020-08-14  7:41 ` Andrew Burgess

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='CAF8i9mPQ=DY7UMCaLL1kkAr1TfAgCrQAOVJajVDBOOzYjQB9uw@mail.gmail.com' \
    --to=tambewilliam@gmail.com \
    --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).