From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17674 invoked by alias); 12 Apr 2007 00:31:06 -0000 Received: (qmail 17665 invoked by uid 22791); 12 Apr 2007 00:31:06 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Apr 2007 01:31:03 +0100 Received: from farnswood.snap.net.nz (22.62.255.123.dynamic.snap.net.nz [123.255.62.22]) by viper.snap.net.nz (Postfix) with ESMTP id E6C693D9403; Thu, 12 Apr 2007 12:30:55 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 1C7EF627ED; Thu, 12 Apr 2007 01:28:21 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17949.32037.351459.701252@farnswood.snap.net.nz> Date: Thu, 12 Apr 2007 00:31:00 -0000 To: Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] set debug mi In-Reply-To: <1176335457.26620.48.camel@svmsnyderlnx.palmsource.com> References: <1176335457.26620.48.camel@svmsnyderlnx.palmsource.com> X-Mailer: VM 7.19 under Emacs 22.0.97.3 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00152.txt.bz2 > Anybody think this is useful? Maybe. I'll take a look. Have you used it? Would it be better to register it as an MI command so that the user doesn't inadvertantly turn it on? I guess that the output would confuse any front end. > 2007-04-11 Michael Snyder > > * mi/mi-main.c (print_mi_command, print_mi_status): New functions. > (captured_mi_execute_command): Call those if mi_debug_p is true. > (mi_execute_cli_command): Make debugging output more concise. > (show_mi_debug): New function. > (_initialize_mi_main): Add "set/show debug mi" command. -- Nick http://www.inet.net.nz/~nickrob