This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debuggee cmd-line arguments bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]