Re: Is it not possible to supply run time arguments to ddd on the commandline when starting ddd?
[email protected] Mon, 31 Oct 2011 21:48:22 -0600
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
I take it your answer means that no, it isn't possible?
I need to debug a remote application. I start the remote
application(s) via script(s) which pass arguments to the remote app in
the script. I want to modify my scripts so that the the debugger is
kicked off, and preferrable start the application running.
So instead of the scripting contaning
ssh user@remotehost app arg1 arg2 arg3
for example, it might contain something like
ssh user@host ddd -display localhost:$DISPLAY app arg1 arg2 arg3
Thats how it could make sense....
Quoting "Mgr. ?imon Tóth" <[email protected]>:
>> Is it not possible to supply run time arguments to ddd on the
>> commandline when starting ddd? i.e.
>>
>> ddd myprog arg1 arg2 arg3
>
> How would that make any sense?
>
> You need to specify the parameters when you are starting the program
> you are debugging not when you are starting the debugger.
>
> (gdb) start arg1 arg2 arg3
>
> or
>
> (gdb) run arg1 arg2 arg3
>
> --
> Mgr. Simon Toth
>
> _______________________________________________
> ddd mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/ddd
>