On 02/25/2013 03:39 PM, Andrew Bernat wrote: > On Feb 25, 2013, at 3:34 PM, David Smith <[email protected] > <mailto:[email protected]>> wrote: > >> I'd like to call oneTimeCode() from the callback. However, oneTimeCode() >> refuses to run if (!proc->isStopped()). As I mentioned earlier, if I >> call stopExecution(), then the process exits. When stopExecution >> returns, proc->isTerminated() is true (when I'm in the exit callback). >> >> If I've misunderstood your answer, please let me know. > > Sure, but when we're delivering the callback the process really should > be stopped. Is proc->isStopped() returning false?
Ah, that question makes more sense. Yes, in the exit callback proc->isStopped() returns false. -- David Smith [email protected] Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax) _______________________________________________ Dyninst-api mailing list [email protected] https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
