From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4353 invoked by alias); 9 Oct 2005 20:04:04 -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 4344 invoked by uid 22791); 9 Oct 2005 20:04:01 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 09 Oct 2005 20:04:01 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EOhOq-0001wB-27; Sun, 09 Oct 2005 16:04:00 -0400 Date: Sun, 09 Oct 2005 20:04:00 -0000 From: Daniel Jacobowitz To: "jingzhao.ou" Cc: gdb@sources.redhat.com Subject: Re: Separating "shell dir" output from GDB/MI output Message-ID: <20051009200400.GB7166@nevyn.them.org> Mail-Followup-To: "jingzhao.ou" , gdb@sources.redhat.com References: <20051009123326.GA436@white> <20051009171225.GA4295@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-10/txt/msg00056.txt.bz2 On Sun, Oct 09, 2005 at 11:47:20AM -0700, jingzhao.ou wrote: > 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. IIRC this is exactly what console-quoted was for. Ideally, IMO, we should have the CLI as a true frontend rather than interwoven with gdb. I don't know if that's practical. -- Daniel Jacobowitz CodeSourcery, LLC