From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26656 invoked by alias); 21 Jul 2009 23:29:35 -0000 Received: (qmail 26647 invoked by uid 22791); 21 Jul 2009 23:29:34 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jul 2009 23:29:24 +0000 Received: from totara (180.62.255.123.dynamic.snap.net.nz [123.255.62.180]) by viper.snap.net.nz (Postfix) with ESMTP id 165F83DAD62; Wed, 22 Jul 2009 11:29:22 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 2636EC15A; Wed, 22 Jul 2009 11:29:21 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19046.20305.111007.76142@totara.tehura.co.nz> Date: Tue, 21 Jul 2009 23:29:00 -0000 To: Daniel Jacobowitz Cc: Marc Khouzam , gdb@sourceware.org Subject: Re: [RFC] Queries and frontends In-Reply-To: <20090721185508.GA16411@caradoc.them.org> References: <6D19CA8D71C89C43A057926FE0D4ADAA07C00023@ecamlmw720.eamcs.ericsson.se> <19045.23703.743876.775308@totara.tehura.co.nz> <6D19CA8D71C89C43A057926FE0D4ADAA07C00569@ecamlmw720.eamcs.ericsson.se> <20090721185508.GA16411@caradoc.them.org> From: nickrob@snap.net.nz (Nick Roberts) 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/msg00172.txt.bz2 Daniel Jacobowitz writes: > On Tue, Jul 21, 2009 at 02:36:38PM -0400, Marc Khouzam wrote: > > I guess it's just me then. > > But with "set confirm off", which one may choose to use, how > > would you set pending breakpoints, currently? > > You just won't be able to, right? Isn't that a problem? > > In fact: > > (gdb) show breakpoint pending > Debugger's behavior regarding pending breakpoints is auto. GDB never prompts with pending breakpoints in GDB/MI because it temporarly sets deprecated_query_hook: deprecated_query_hook = mi_interp_query_hook In any case I'm not concerned about all queries: if they're issued from the GUD buffer Emacs currently handles them fine. I just need to avoid them for those GDB commands which are run behind the users back. -- Nick http://www.inet.net.nz/~nickrob