This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] gdb/testsuite/gdb.base/fileio.exp patch for cygwin
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