From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11026 invoked by alias); 25 Jul 2005 18:24:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11014 invoked by uid 22791); 25 Jul 2005 18:24:17 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 25 Jul 2005 18:24:17 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1Dx7ce-0003L3-3q; Mon, 25 Jul 2005 14:24:16 -0400 Date: Mon, 25 Jul 2005 18:24:00 -0000 From: Daniel Jacobowitz To: Konstantin Karganov Cc: gdb@sources.redhat.com Subject: Re: Debuggee cmd-line arguments bug Message-ID: <20050725182416.GA12807@nevyn.them.org> Mail-Followup-To: Konstantin Karganov , gdb@sources.redhat.com References: <20050725142445.GA4525@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00235.txt.bz2 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