From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26913 invoked by alias); 27 Apr 2008 04:29:37 -0000 Received: (qmail 26904 invoked by uid 22791); 27 Apr 2008 04:29:37 -0000 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.31) with ESMTP; Sun, 27 Apr 2008 04:26:52 +0000 Received: from kahikatea.snap.net.nz (170.63.255.123.dynamic.snap.net.nz [123.255.63.170]) by viper.snap.net.nz (Postfix) with ESMTP id E8F813DAAF8; Sun, 27 Apr 2008 11:04:52 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id A16BB8FC6D; Sun, 27 Apr 2008 10:42:44 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18451.45027.743862.885534@kahikatea.snap.net.nz> Date: Sun, 27 Apr 2008 09:09:00 -0000 To: Vladimir Prus Cc: gdb@sourceware.org, Marc Khouzam Subject: Re: [MI] enabling non-stop mode In-Reply-To: <200804262216.16948.vladimir@codesourcery.com> References: <200804262216.16948.vladimir@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.2.50.2 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: 2008-04/txt/msg00223.txt.bz2 > Probably, we can extend this to enable feature that are not MI proper, > say: > > (gdb) -list-features > ^done,features=[....,"non-stop",....] > (gdb) -enable-feature non-stop > ^done > > The only issue here is that non-stop mode availability in general > depends on the target, so maybe we should have a separate commands > to list "target" feature and then enable target features? Why not just use -gdb-set? maint set linux-async --> set linux-async --> -gdb-set linux-async maint set non-stop --> set non-stop --> -gdb-set non-stop I thought the idea of -list-features was to give the frontend a simple means of finding out which MI commands a version of Gdb will accept. Why would a frontend want to do "-disable-feature frozen-varobjs"? -- Nick http://www.inet.net.nz/~nickrob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23022 invoked by alias); 27 Apr 2008 04:26:18 -0000 Received: (qmail 22913 invoked by uid 22791); 27 Apr 2008 04:26:16 -0000 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.31) with ESMTP; Sun, 27 Apr 2008 03:03:24 +0000 Received: from kahikatea.snap.net.nz (170.63.255.123.dynamic.snap.net.nz [123.255.63.170]) by viper.snap.net.nz (Postfix) with ESMTP id E8F813DAAF8; Sun, 27 Apr 2008 11:04:52 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id A16BB8FC6D; Sun, 27 Apr 2008 10:42:44 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18451.45027.743862.885534@kahikatea.snap.net.nz> Date: Sun, 27 Apr 2008 06:24:00 -0000 To: Vladimir Prus Cc: gdb@sourceware.org, Marc Khouzam Subject: Re: [MI] enabling non-stop mode In-Reply-To: <200804262216.16948.vladimir@codesourcery.com> References: <200804262216.16948.vladimir@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.2.50.2 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: 2008-04/txt/msg00220.txt.bz2 Message-ID: <20080427062400.R5VLLToppD6312ySJlMguWcUsZa5qlCdRf60VVo9uxo@z> > Probably, we can extend this to enable feature that are not MI proper, > say: > > (gdb) -list-features > ^done,features=[....,"non-stop",....] > (gdb) -enable-feature non-stop > ^done > > The only issue here is that non-stop mode availability in general > depends on the target, so maybe we should have a separate commands > to list "target" feature and then enable target features? Why not just use -gdb-set? maint set linux-async --> set linux-async --> -gdb-set linux-async maint set non-stop --> set non-stop --> -gdb-set non-stop I thought the idea of -list-features was to give the frontend a simple means of finding out which MI commands a version of Gdb will accept. Why would a frontend want to do "-disable-feature frozen-varobjs"? -- Nick http://www.inet.net.nz/~nickrob