kenorb <ken...@gmail.com> writes:

> Tried this:
>> echo run | gdb ls
> (gdb) Hangup detected on fd 0
> error detected on stdin
>
> 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.
_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to