bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb: How to run debugger on start


From: Aleksandr Vinokurov
Subject: Re: gdb: How to run debugger on start
Date: Mon, 29 Nov 2010 12:20:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

kenorb <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]