public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* how to provide command-line arguments?
@ 2002-08-31 16:06 konstan
  2002-08-31 19:02 ` Tom Tromey
  0 siblings, 1 reply; 6+ messages in thread
From: konstan @ 2002-08-31 16:06 UTC (permalink / raw)
  To: insight


Hi All,

Could someone point out how to provide command-line arguments to the
programm I debug with Insight 5.2.1?

Tanks,

Konstantin Skaburskas

-----------------------------------------------------------------------
- Konstantin Skaburskas, Ph.D. student          konstan@ut.ee         -
- Inst. of Experimental Physics & Technology    http://www.ut.ee      -
- University of Tartu                           phone:  +372 7 375530 -
- Tahe 4-101,Tartu, 51010, Estonia              fax:    +372 7 375858 -
-----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to provide command-line arguments?
  2002-08-31 16:06 how to provide command-line arguments? konstan
@ 2002-08-31 19:02 ` Tom Tromey
  2002-09-01 12:55   ` how to see the output of the debugged program? konstan
  2002-09-03  8:53   ` how to provide command-line arguments? Keith Seitz
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Tromey @ 2002-08-31 19:02 UTC (permalink / raw)
  To: konstan; +Cc: insight

>>>>> ">" == konstan  <konstan@physic.ut.ee> writes:

>> Could someone point out how to provide command-line arguments to the
>> programm I debug with Insight 5.2.1?

There are at least 3 ways.

You can run gdb using the `--args' argument.

There is a dialog off the File menu that lets you edit this property.
Or so I recall; I haven't used it in a long time.

You can use "set args" from the console.

Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* how to see the output of the debugged program?
  2002-08-31 19:02 ` Tom Tromey
@ 2002-09-01 12:55   ` konstan
  2002-09-01 13:41     ` Tom Tromey
  2002-09-03  8:53   ` how to provide command-line arguments? Keith Seitz
  1 sibling, 1 reply; 6+ messages in thread
From: konstan @ 2002-09-01 12:55 UTC (permalink / raw)
  To: insight


Hi All,

How can I see the output (to stdout) of the program debugged with Insight
5.2.1?

Thank you,

Konstantin Skaburskas

-----------------------------------------------------------------------
- Konstantin Skaburskas, Ph.D. student          konstan@ut.ee         -
- Inst. of Experimental Physics & Technology    http://www.ut.ee      -
- University of Tartu                           phone:  +372 7 375530 -
- Tahe 4-101,Tartu, 51010, Estonia              fax:    +372 7 375858 -
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to see the output of the debugged program?
  2002-09-01 12:55   ` how to see the output of the debugged program? konstan
@ 2002-09-01 13:41     ` Tom Tromey
  2002-09-03  8:55       ` Keith Seitz
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Tromey @ 2002-09-01 13:41 UTC (permalink / raw)
  To: konstan; +Cc: insight

>>>>> ">" == konstan  <konstan@physic.ut.ee> writes:

>> How can I see the output (to stdout) of the program debugged with
>> Insight 5.2.1?

There are two ways.

1. Run insight from an xterm.  Then look there.

2. Tell insight to run your program in an xterm.  I forget where this
   option is.  I think the target dialog.

Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to provide command-line arguments?
  2002-08-31 19:02 ` Tom Tromey
  2002-09-01 12:55   ` how to see the output of the debugged program? konstan
@ 2002-09-03  8:53   ` Keith Seitz
  1 sibling, 0 replies; 6+ messages in thread
From: Keith Seitz @ 2002-09-03  8:53 UTC (permalink / raw)
  To: konstan; +Cc: insight

On 31 Aug 2002, Tom Tromey wrote:

> There is a dialog off the File menu that lets you edit this property.
> Or so I recall; I haven't used it in a long time.

Yup -- File->Target Settings... has this option.

Keith


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to see the output of the debugged program?
  2002-09-01 13:41     ` Tom Tromey
@ 2002-09-03  8:55       ` Keith Seitz
  0 siblings, 0 replies; 6+ messages in thread
From: Keith Seitz @ 2002-09-03  8:55 UTC (permalink / raw)
  To: konstan; +Cc: insight

On 1 Sep 2002, Tom Tromey wrote:

> 2. Tell insight to run your program in an xterm.  I forget where this
>    option is.  I think the target dialog.

Yup, once again in File->Target Settings... (select the "use xterm for 
inferior's terminal" option).

Keith


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-03 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-31 16:06 how to provide command-line arguments? konstan
2002-08-31 19:02 ` Tom Tromey
2002-09-01 12:55   ` how to see the output of the debugged program? konstan
2002-09-01 13:41     ` Tom Tromey
2002-09-03  8:55       ` Keith Seitz
2002-09-03  8:53   ` how to provide command-line arguments? 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).