public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
       [not found] <20040226020800.8677.degraaf@cpsc.ucalgary.ca>
@ 2009-01-03  2:12 ` tromey at redhat dot com
  2010-04-19 19:39 ` erh+gcc at nimenees dot com
  1 sibling, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2009-01-03  2:12 UTC (permalink / raw)
  To: gdb-prs


------- 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
       [not found] <20040226020800.8677.degraaf@cpsc.ucalgary.ca>
  2009-01-03  2:12 ` [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe tromey at redhat dot com
@ 2010-04-19 19:39 ` erh+gcc at nimenees dot com
  1 sibling, 0 replies; 4+ messages in thread
From: erh+gcc at nimenees dot com @ 2010-04-19 19:39 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From erh+gcc at nimenees dot com  2010-04-19 19:39 -------
I found a (rather old) message that claims to have a patch to improve this:
http://sourceware.org/ml/gdb-patches/2001-05/msg00106.html

I have no idea whether that will help, but I know this bug if affecting me too.
 ("GNU gdb Fedora (6.8-2.7.el5)")

-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
       [not found] <bug-8677-4717@http.sourceware.org/bugzilla/>
  2011-05-25  7:59 ` cvs-commit at gcc dot gnu.org
@ 2011-05-25  8:01 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2011-05-25  8:01 UTC (permalink / raw)
  To: gdb-prs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> 2011-05-25 07:59:50 UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe
       [not found] <bug-8677-4717@http.sourceware.org/bugzilla/>
@ 2011-05-25  7:59 ` cvs-commit at gcc dot gnu.org
  2011-05-25  8:01 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-05-25  7:59 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-05-25 07:59:07 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    schwab@sourceware.org    2011-05-25 07:59:04

Modified files:
    gdb            : ChangeLog event-loop.c 

Log message:
    PR gdb/8677
    * event-loop.c (handle_file_event): Don't handle POLLHUP as error.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13045&r2=1.13046
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/event-loop.c.diff?cvsroot=src&r1=1.49&r2=1.50

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-25  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040226020800.8677.degraaf@cpsc.ucalgary.ca>
2009-01-03  2:12 ` [Bug gdb/8677] "Hangup detected on fd 0" when reading from a pipe tromey at redhat dot com
2010-04-19 19:39 ` erh+gcc at nimenees dot com
     [not found] <bug-8677-4717@http.sourceware.org/bugzilla/>
2011-05-25  7:59 ` cvs-commit at gcc dot gnu.org
2011-05-25  8:01 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).