How to determine whether GDB is single-stepping within sim_engine_run() ?

William Tambe via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAF8i9mPQ=DY7UMCaLL1kkAr1TfAgCrQAOVJajVDBOOzYjQB9uw@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.