Date: Mon, 28 Nov 2016 22:30:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214918] devel/gdb: -batch mode with EOF from stdin makes gdb hang Message-ID: <bug-214918-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214918 Bug ID: 214918 Summary: devel/gdb: -batch mode with EOF from stdin makes gdb hang Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: tomi.ollila@iki.fi CC: luca.pizzamiglio@gmail.com CC: luca.pizzamiglio@gmail.com Flags: maintainer-feedback?(luca.pizzamiglio@gmail.com) # /usr/local/bin/gdb --version | head -1 GNU gdb (GDB) 7.11.1 [GDB v7.11.1 for FreeBSD] # # /usr/local/bin/gdb -batch -ex run --args sleep 2 < /dev/null quit A debugging session is active. Inferior 1 [process 17087] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] -- e.g. hangs above. pkill -9 gdb stops it. without < /dev/null (or running same on linux) yields: # /usr/local/bin/gdb -batch -ex run --args sleep 2=20 [Inferior 1 (process 17093) exited normally] # --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214918-13>