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.