This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 3 Jan 2009 02:12:19 -0000
- Subject: [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
- References: <20040226020800.8677.degraaf@cpsc.ucalgary.ca>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.