From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10871 invoked by alias); 17 Jul 2009 15:02:23 -0000 Received: (qmail 10670 invoked by uid 22791); 17 Jul 2009 15:02:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jul 2009 15:02:15 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6BB4F108CB; Fri, 17 Jul 2009 15:02:13 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id E92A510814; Fri, 17 Jul 2009 15:02:12 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MRowu-00019h-3a; Fri, 17 Jul 2009 11:02:12 -0400 Date: Fri, 17 Jul 2009 15:02:00 -0000 From: Daniel Jacobowitz To: Marc Khouzam Cc: Nick Roberts , Hui Zhu , gdb@sources.redhat.com, Michael Snyder Subject: Re: Reverse debugging Message-ID: <20090717150212.GA4348@caradoc.them.org> Mail-Followup-To: Marc Khouzam , Nick Roberts , Hui Zhu , gdb@sources.redhat.com, Michael Snyder References: <4A5BD5F3.1090103@vmware.com> <19035.57129.173542.368393@totara.tehura.co.nz> <4A5CC0E1.7020800@vmware.com> <19037.16041.589932.535743@totara.tehura.co.nz> <6D19CA8D71C89C43A057926FE0D4ADAA07BD6DD6@ecamlmw720.eamcs.ericsson.se> <19039.58589.853319.841012@totara.tehura.co.nz> <6D19CA8D71C89C43A057926FE0D4ADAA07BD7500@ecamlmw720.eamcs.ericsson.se> <20090717142516.GA29249@caradoc.them.org> <6D19CA8D71C89C43A057926FE0D4ADAA07BD75A2@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA07BD75A2@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00119.txt.bz2 On Fri, Jul 17, 2009 at 10:55:05AM -0400, Marc Khouzam wrote: > > > So you start GDB in CLI mode? > > > My idea was that if gdb is started with '-interpreter mi', we could > > > assume it is a frontend that started it and not use queries. > > > > How about checking the current interpreter in query, instead? > > That would be for the current command only? > That is a better solution. However, 'record' et al. don't have > MI equivalents. But I could use '-interpreter-exec console record' > if that would make your suggestion work. Guess you need top_level_interpreter then. -- Daniel Jacobowitz CodeSourcery