[DynInst_API:] Broken BPatch::getNotificationFD()


Date: Tue, 30 Oct 2012 11:59:31 -0700
From: Josh Stone <jistone@xxxxxxxxxx>
Subject: [DynInst_API:] Broken BPatch::getNotificationFD()
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
[← Prev in Thread] Current Thread [Next in Thread→]