[PATCH] PPC sim: Don't close file descriptors 0, 1, or 2

Mike Frysinger vapier@gentoo.org
Mon Nov 16 23:53:00 GMT 2015


On 16 Nov 2015 14:58, Kevin Buettner wrote:
> This occurs because the powerpc simulator closes, on behalf of the
> testcase, the file descriptors associated with stdin, stdout, and
> stderr.  GDB still needs these descriptors to communicate with the
> user or, in this case, with the testing framework.

special casing this logic in the sim looks wrong to me.  why
is the testcase itself trying to close stdin/stdout/stderr ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20151116/87259b0e/attachment.sig>


More information about the Gdb-patches mailing list