From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28359 invoked by alias); 9 Oct 2005 18:47:25 -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 28334 invoked by uid 22791); 9 Oct 2005 18:47:22 -0000 Received: from xproxy.gmail.com (HELO xproxy.gmail.com) (66.249.82.195) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 09 Oct 2005 18:47:22 +0000 Received: by xproxy.gmail.com with SMTP id h27so776280wxd for ; Sun, 09 Oct 2005 11:47:20 -0700 (PDT) Received: by 10.70.12.15 with SMTP id 15mr3247725wxl; Sun, 09 Oct 2005 11:47:20 -0700 (PDT) Received: by 10.70.80.3 with HTTP; Sun, 9 Oct 2005 11:47:20 -0700 (PDT) Message-ID: Date: Sun, 09 Oct 2005 18:47:00 -0000 From: "jingzhao.ou" To: gdb@sources.redhat.com Subject: Re: Separating "shell dir" output from GDB/MI output In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051009123326.GA436@white> <20051009171225.GA4295@nevyn.them.org> X-SW-Source: 2005-10/txt/msg00054.txt.bz2 interpreter-exec can give me what I am looking for. However, its output is mixed with the MI output and will confuse Bob's parser. :-( interpreter-exec console "b main" &"interpreter-exec console \"b main\"\n" Breakpoint 1 at 0x4012e7: file gdbmi_driver.c, line 14. ^done (gdb) It seems that support of multiple file descriptors is a potential solution for such problems. Best regards, Jingzhao On 10/9/05, Daniel Jacobowitz wrote: > For now, for a console, you can use -interpreter-exec and get things > more or less right. You can find a lot more about this in the list > archives, e.g. Apple's console-quoted hack.