From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28372 invoked by alias); 4 Aug 2012 04:05:14 -0000 Received: (qmail 28333 invoked by uid 22791); 4 Aug 2012 04:05:12 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Aug 2012 04:04:59 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SxVbm-0003kJ-H4 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Fri, 03 Aug 2012 21:04:58 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 3 Aug 2012 21:04:58 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Fri, 3 Aug 2012 21:04:57 -0700 From: Yao Qi To: Subject: [PATCH] Fix PR14371: doc on =breakpoint-deleted Date: Sat, 04 Aug 2012 04:05:00 -0000 Message-ID: <1344053058-19490-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain 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: 2012-08/txt/msg00131.txt.bz2 Hi, We have an inconsistency between GDB and doc on '=breakpoint-deleted'. The doc says "=breakpoint-deleted,bpkt={}", while the actual behavior is "=breakpoint-deleted,id=". I treat it as an error in doc, so fix it in doc side. gdb/doc: 2012-08-04 Yao Qi Fix PR14371. * gdb.texinfo (GDB/MI Async Records): Fix the doc for '=breakpoint-deleted'. --- gdb/doc/gdb.texinfo | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b7b15ec..96fa5e2 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27609,13 +27609,14 @@ thread groups. @item =breakpoint-created,bkpt=@{...@} @itemx =breakpoint-modified,bkpt=@{...@} -@itemx =breakpoint-deleted,bkpt=@{...@} +@itemx =breakpoint-deleted,id=@var{number} Reports that a breakpoint was created, modified, or deleted, respectively. Only user-visible breakpoints are reported to the MI user. The @var{bkpt} argument is of the same form as returned by the various -breakpoint commands; @xref{GDB/MI Breakpoint Commands}. +breakpoint commands; @xref{GDB/MI Breakpoint Commands}. The @var{id} +argument is the id of the breakpoint. Note that if a breakpoint is emitted in the result record of a command, then it will not also be emitted in an async record. -- 1.7.7.6