[ofw] running ibnetdisc with the debugger attached
Tzachi Dar
tzachid at mellanox.co.il
Thu Sep 2 13:15:28 PDT 2010
I must say that once we have been running with the debugger we have found that the function fails unless we zero offset field.
> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org [mailto:ofw-
> bounces at lists.openfabrics.org] On Behalf Of Hefty, Sean
> Sent: Thursday, September 02, 2010 10:47 PM
> To: Tzachi Dar
> Cc: ofw at lists.openfabrics.org
> Subject: Re: [ofw] running ibnetdisc with the debugger attached
>
> > Do you succeed in running ibnetdisc with windbg attached? I must say
> we
> > have not?
>
> I have never tried.
>
> > In any case the WriteFile api has a return value. I don't understand
> why
> > you ignore it.
>
> Okay - I missed that this was what you were trying to get it at. Yes,
> the code should check the return value of Read/WriteFile before calling
> GetOverlappedResult. I'll update that. I've already changed the code
> to clear the two overlapped structures as part of the constructor.
>
> - Sean
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
More information about the ofw
mailing list