Re: [DynInst_API:] Broken BPatch::getNotificationFD()


Date: Tue, 30 Oct 2012 14:01:30 -0500
From: Andrew Bernat <bernat@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] Broken BPatch::getNotificationFD()
Yeah, it's supposed to work. I'll look into it. 

Drew

On Oct 30, 2012, at 1:59 PM, Josh Stone <jistone@xxxxxxxxxx> wrote:

Hi,

Is BPatch::getNotificationFD() still supported in Dyninst 8.0?  I mean
for Linux, since it's implemented "#if !defined(os_windows)".  I get a
proper-looking FD, but polling on it blocks indefinitely.

The only signalNotificationFD() call I can find is in BPatch
registerUnloadedModule().  That one looks like it might actually be
vestigial, and the correct call was in pcEventHandler.C, until this
commit removed it:

 commit 0088b1285c45f01ee70b6b846ece508ed684114d
 Author: unknown <bernat@xxxxxxxxxxxxxxxxxxxxxx>
 Date:   Tue Jun 5 13:16:53 2012 -0500

     Bugfixes in Dyninst/ProcControl integration on Windows.
     Untested on other platforms.

So I guess this functionality falls under that "untested" blanket...

Thanks,
Josh
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api




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