This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: input redirection
- From: <antoine dot trux at nokia dot com>
- To: <insight at sources dot redhat dot com>
- Cc: <keiths at redhat dot com>
- Date: Mon, 9 Sep 2002 10:43:48 +0300
- Subject: RE: input redirection
> Tom Tromey responded to this message... You're problem may be
> different,
> but the original poster was attempting to do something silly:
>
> $ gdb ./mulitvar < multivar.inf
True, but Scott Hill replied to Tom Tromey that his suggestions don't work, and that, for some reason, the "silly command" was working in Win98 (but not in NT). See http://sources.redhat.com/ml/insight/2001-q1/msg00050.html.
I, too, tried Tom's suggestions, but had no more luck than Scott.
> Instead, he has several options:
>
> 1) Run "gdb ./multivar", go to File->Target Settings...,
> choose "Exec",
> and enter "< multivar.inf" as arguments
Just tried it. Doesn't work.
> 2) Run "gdb ./multivar --args '< multiar.inf' (syntax may be
> incorrect --
> double check it)
gdb: unrecognized option `--args'
Use `gdb --help' for a complete list of options.
> 3) Run "gdb ./mulitvar", open Console Window, type "r < multivar.inf"
This was Tom's suggestion. Doesn't work.
> If this doesn't happen on your system, please try doing this
> with vanilla
> gdb, i.e., "gdb -nw". This doesn't sound like the sort of thing that
> Insight would malign.
Doesn't work either.
Antoine