An inconsistency between some process state checks caused the breakpoint
to not be sent. Also clear the breakpoint after the state query has been
sent.
GlPacket *pkt = packet_begin(FUNC_GLDQUERYLIMITS);
gldbg.send(pkt);
query_state = 0;
+ gldbg.clear_breakpoint(FUNC_GLXMAKECURRENT, BREAK_RETURN, this);
gldbg.resume_from_break(this);
}
}
breakpoints.back().add_owner(owner);
}
- if(process.get_state()>=Process::RUNNING)
+ if(process.get_state()!=Process::INACTIVE)
send_breakpoint(func, flag, 0);
}
}
break;
}
- if(process.get_state()>=Process::RUNNING)
+ if(process.get_state()!=Process::INACTIVE)
send_breakpoint(func, 0, flag);
}
}