* passing command line arguments
@ 2004-07-01 13:09 Paul Rosin
2004-07-01 14:45 ` Keith Seitz
0 siblings, 1 reply; 2+ messages in thread
From: Paul Rosin @ 2004-07-01 13:09 UTC (permalink / raw)
To: insight
I can't work out how to pass command line arguments when using Insight
(6.1)
--
+-------------------------------------------------------------------+
|Dr. Paul Rosin |
|School of Computer Science email: Paul.Rosin@cs.cf.ac.uk |
|Cardiff University tel/fax: +44 (0)29 2087 5585/4598|
|Queen's Buildings, Newport Road, PO Box 916, Cardiff CF24 3XF, UK |
|WWW: http://www.cs.cf.ac.uk/User/Paul.Rosin/ |
+-------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: passing command line arguments
2004-07-01 13:09 passing command line arguments Paul Rosin
@ 2004-07-01 14:45 ` Keith Seitz
0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2004-07-01 14:45 UTC (permalink / raw)
To: Paul Rosin; +Cc: insight
On Thu, 2004-07-01 at 06:08, Paul Rosin wrote:
> I can't work out how to pass command line arguments when using Insight
> (6.1)
What command line arguments? To gdb or to the inferior? I'll assume you
mean the inferior.
You have two choices:
1) Open a Console Window and type the gdb command ("set args BLAH BLAH
BLAH").
2) Open the Target Settings Dialog (File->Target Settings...), select
the appropriate target (usually "Exec" on natives) and options.
There is a small bug in the dialog: if you use the command line to enter
arguments, the dialog will not recognize it, and hitting the Run button
will overwrite your args. [Moral: Use the Target Settings Dialog.]
Regardless of the method you've used, Insight will remember the
arguments when you quit. [Again, there's a bug in the Target Settings
Dialog which won't display the arguments, but entering "show args" in
the console will show their there.]
Keith
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-01 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 13:09 passing command line arguments Paul Rosin
2004-07-01 14:45 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).