Remove unused 'singleStepping' state on Process

We don't care, at the process level, whether or not we're single
stepping. That state is really only relevant at the thread level.
This commit is contained in:
Derek Parker
2015-08-11 08:20:44 -05:00
parent 8aa73bcf21
commit ed9b7769fd
2 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,6 @@ type Process struct {
frameEntries frame.FrameDescriptionEntries
lineInfo *line.DebugLineInfo
firstStart bool
singleStepping bool
os *OSProcessDetails
arch Arch
ast *source.Searcher
@ -386,8 +385,6 @@ func (dbp *Process) Continue() error {
// Single step, will execute a single instruction.
func (dbp *Process) Step() (err error) {
fn := func() error {
dbp.singleStepping = true
defer func() { dbp.singleStepping = false }()
for _, th := range dbp.Threads {
if th.blocked() {
continue