ddd
[Top][All Lists]
Advanced

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

Re: Is it not possible to supply run time arguments to ddd on the comman


From: disposable
Subject: Re: Is it not possible to supply run time arguments to ddd on the commandline when starting ddd?
Date: Mon, 31 Oct 2011 21:48:22 -0600
User-agent: Internet Messaging Program (IMP) H3 (4.3.9)

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 address@hidden app arg1 arg2 arg3

for example, it might contain something like

  ssh address@hidden ddd -display localhost:$DISPLAY app arg1 arg2 arg3


Thats how it could make sense....



Quoting "Mgr. ?imon Tóth" <address@hidden>:

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
address@hidden
https://lists.gnu.org/mailman/listinfo/ddd






reply via email to

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