[Bug 214918] devel/gdb: -batch mode with EOF from stdin makes gdb hang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 28 22:30:52 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214918
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 at FreeBSD.org
Reporter: tomi.ollila at iki.fi
CC: luca.pizzamiglio at gmail.com
CC: luca.pizzamiglio at gmail.com
Flags: maintainer-feedback?(luca.pizzamiglio at 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
[Inferior 1 (process 17093) exited normally]
#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list