And this:
> echo run | gdb -x /dev/stdin ls
Program exited normally.
(gdb) Hangup detected on fd 0
error detected on stdin
Nothing in help and manual.
Anything?
$ echo run >> commands
$ gdb -q --command=commands uname
(no debugging symbols found)...(no debugging symbols found)...
Linux
(no debugging symbols found)...
Program exited normally.
(gdb)
Aleksandr.