From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25327 invoked by alias); 3 Jan 2009 02:12:19 -0000 Received: (qmail 25309 invoked by uid 48); 3 Jan 2009 02:12:19 -0000 Date: Sat, 03 Jan 2009 02:12:00 -0000 Message-ID: <20090103021219.25308.qmail@sourceware.org> From: "tromey at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20040226020800.8677.degraaf@cpsc.ucalgary.ca> References: <20040226020800.8677.degraaf@cpsc.ucalgary.ca> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00005.txt.bz2 ------- 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.