From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15448 invoked by alias); 16 Dec 2007 21:28:37 -0000 Received: (qmail 15429 invoked by uid 22791); 16 Dec 2007 21:28:32 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 16 Dec 2007 21:28:28 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1J4123-0001vm-Nk for gdb-patches@sources.redhat.com; Mon, 17 Dec 2007 00:28:25 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1J4123-0001vi-Il for gdb-patches@sources.redhat.com; Mon, 17 Dec 2007 00:28:19 +0300 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: [RFA] Announce mi pending breakpoint support. Date: Sun, 16 Dec 2007 21:33:00 -0000 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712170028.17907.ghost@cs.msu.su> 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-12/txt/msg00228.txt.bz2 This patch makes the -list-features command announce presence of the recently committed support for pending breakpoints in MI. I need it to automatically make use of this functionality in KDevelop 3.5. OK? - Volodya gdb/ * mi/mi-main.c (mi_cmd_list_features): Announce the 'pending-breakpoints' feature. gdb/doc/ * gdb.texinfo (Miscellaneous gdb/mi Commands): Document 'pending-breakpoints' feature of -list-features. --- gdb/doc/gdb.texinfo | 4 ++++ gdb/mi/mi-main.c | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 01f5db5..db4106e 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21600,6 +21600,10 @@ The current list of features is: @samp{frozen-varobjs}---indicates presence of the @code{-var-set-frozen} command, as well as possible presense of the @code{frozen} field in the output of @code{-varobj-create}. +@item +@samp{pending-breakpoints}---indicates presence of the @code{-f} +option to the @code{-break-insert} command. + @end itemize @subheading The @code{-interpreter-exec} Command diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 025c66d..b23d337 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1054,6 +1054,7 @@ mi_cmd_list_features (char *command, char **argv, int argc) cleanup = make_cleanup_ui_out_list_begin_end (uiout, "features"); ui_out_field_string (uiout, NULL, "frozen-varobjs"); + ui_out_field_string (uiout, NULL, "pending-breakpoints"); do_cleanups (cleanup); -- 1.5.3.5