Debuggee cmd-line arguments bug
Daniel Jacobowitz
drow@false.org
Mon Jul 25 18:24:00 GMT 2005
On Mon, Jul 25, 2005 at 10:05:55PM +0400, Konstantin Karganov wrote:
>
> > No. If you provide any options on the "run" command line, you are
> > replacing the arguments set by set args.
> But I don't provide any options, I did only IO redirection.
> And this also killed args set before.
IO redirection is an argument.
> Ok, then is it possible to redirect IO via set args?
Yes.
> I do need to redirect IO every time I use MI, since otherwise MI
> output does not fit the grammar and breaks the parser (because mixed with
> debuggee output) - this thing is not very well designed, I think.
You can find plenty of information about this problem in the list
archives, including the shiny new -inferior-set-tty command which
offers another solution.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list