Re: [DynInst_API:] oneTimeCode() and exit callbacks


Date: Tue, 26 Mar 2013 10:55:46 -0500
From: Andrew Bernat <bernat@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] oneTimeCode() and exit callbacks
On Mar 26, 2013, at 10:16 AM, David Smith <dsmith@xxxxxxxxxx> wrote:

Andrew,

Have you had a chance to take a look at this?

Thanks for the reminder. It looks like we have a conflict of desires going on inside of Dyninst. The "isStopped" method returns true if the user explicitly requests the process to be stopped, but false if it stopped for some other reason (e.g. handling a signal). 

As a quick fix, can you just comment out the isStopped check in BPatch_process::oneTimeCode? The ProcControl layer will handle things appropriately. 

Drew




[← Prev in Thread] Current Thread [Next in Thread→]