This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe


------- Additional Comments From tromey at redhat dot com  2009-01-03 02:12 -------
The POLLHUP result from poll(2) is weird.
I think gdb should probably ignore it -- treat it as POLLIN,
and then let the handler detect the EOF using read.

FWIW I looked at the current Fedora SRPM and did not see a relevant patch.
I didn't look through Red Hat bugzilla, though.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=8677

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]