[RFC] gdb/testsuite/gdb.base/fileio.exp patch for cygwin

Pedro Alves pedro_alves@portugalmail.pt
Thu Dec 6 03:42:00 GMT 2007


Daniel Jacobowitz wrote:

> I might be mistaken, but I don't think there's any way to figure out
> the original identity of the pipe.  Handles aren't globally unique,
> are they?
>

Yeah, I keep thinking CE, where they *are* global.

There may be other ways to identify the pipes, like using
named pipes for the ttys if possible -- but I don't know if
it's possible to get a pipe name from a pipe handle.  If
there's a way to know if two handles point to the same
object it should work too, but I don't think that's possible either...

-- 
Pedro Alves



More information about the Gdb-patches mailing list