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: Michael Eager
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:11:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/31/2011 08:48 PM, address@hidden wrote:
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

If you are running ddd and displaying on your local system, why don't
you want to type in "run arg1 arg2 arg3".  It's not as if you want
this to run non-interactively.

Create a .gdbinit file on the remote system containing "run arg1 arg2 arg3".
This should be executed as soon as gdb starts.

Are you sure you wouldn't be better off running gdbserver on the
remote system?

--
Michael Eager    address@hidden
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



reply via email to

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