On 07 Dec 2015 13:29, Kevin Buettner wrote: > Below is a patch which adds and uses the helper function, fdbad, which > mimics (as much as makes sense) what is done in sim/common. > > This adds on to my earlier patch: > > https://sourceware.org/ml/gdb-patches/2015-11/msg00354.html > > I.e. my earlier patch must be applied first before applying the patch > below. the linux code was slightly broken (forgot to set fd_close), but i fixed that and pushed it. final commit is below. thanks ! -mike