From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2754 invoked by alias); 30 May 2006 17:55:06 -0000 Received: (qmail 2699 invoked by uid 22791); 30 May 2006 17:55:05 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 30 May 2006 17:55:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fl8Qm-0004nq-CK; Tue, 30 May 2006 13:55:00 -0400 Date: Tue, 30 May 2006 18:12:00 -0000 From: Daniel Jacobowitz To: Jim Ingham , gdb@sources.redhat.com Subject: Re: MI query questions Message-ID: <20060530175500.GA18408@nevyn.them.org> Mail-Followup-To: Jim Ingham , gdb@sources.redhat.com References: <20060529122337.GB2021@brasko.net> <20060529144640.GA12145@nevyn.them.org> <20060530171518.GB31100@brasko.net> <7A4B9D88-47FB-4721-949F-632AF2E449FC@apple.com> <20060530175310.GD31100@brasko.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060530175310.GD31100@brasko.net> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00396.txt.bz2 On Tue, May 30, 2006 at 01:53:10PM -0400, Bob Rossi wrote: > This is also the solution I was thinking of. However, I would like to > modify the MI OUTPUT record to show this as a possibility. Also, I think > that this should be 1 full response. > (gdb) set interpreter mi1 > -interpreter-exec console-quoted "break raise" > ~"[0] cancel\n[1] all\n" > ~"\nNon-debugging symbols:\n" > ~"[2] -[NSException raise]\n" > ~"[3] raise\n" > =read-one-line,prompt="> " > (gdb) > > And then the user will send the command, and then get another full > response representing the breakpoint output. > > Does this make sense? I don't think so. The (gdb) marker means you're at an MI prompt. But you aren't. You can't send an arbitrary MI command here. -- Daniel Jacobowitz CodeSourcery