From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11754 invoked by alias); 6 Aug 2012 14:23:52 -0000 Received: (qmail 11738 invoked by uid 22791); 6 Aug 2012 14:23:50 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,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; Mon, 06 Aug 2012 14:23:36 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1SyODX-00012F-OU from Yao_Qi@mentor.com ; Mon, 06 Aug 2012 07:23:35 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 6 Aug 2012 07:23:35 -0700 Received: from qiyao.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; Mon, 6 Aug 2012 07:23:34 -0700 From: Yao Qi To: , Eli Zaretskii Subject: Re: [PATCH] Fix PR14371: doc on =breakpoint-deleted Date: Mon, 06 Aug 2012 14:23:00 -0000 Message-ID: <1487308.mLOQtHcNVu@qiyao.dyndns.org> User-Agent: KMail/4.8.3 (Linux/3.3.7-1.fc16.i686; KDE/4.8.3; i686; ; ) In-Reply-To: <83fw83b0kh.fsf@gnu.org> References: <1344053058-19490-1-git-send-email-yao@codesourcery.com> <83fw83b0kh.fsf@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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/msg00172.txt.bz2 On Saturday, August 04, 2012 10:03:58 AM Eli Zaretskii wrote: > > -breakpoint commands; @xref{GDB/MI Breakpoint Commands}. > > +breakpoint commands; @xref{GDB/MI Breakpoint Commands}. The @var{id} > > +argument is the id of the breakpoint. ^^^^^^^^ >=20 > ^^^^^^^^^^^^^^^^^^^^^^^^ > Not "@var{id}", but "@var{number}", for consistency with the > description above. Also, I'd prefer "the ordinal number of the > breakpoint" instead of the end of the last sentence, because "id of > the breakpoint" doesn't really say what it is. >=20 "number" of breakpoint is used other places in doc. Fixed as you suggested. > OK with those changes. Applied. --=20 Yao (=E9=BD=90=E5=B0=A7) gdb/doc: 2012-08-06 Yao Qi Fix PR14371. * gdb.texinfo (GDB/MI Async Records): Fix the doc for '=3Dbreakpoint-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..9f9fe40 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27609,13 +27609,14 @@ thread groups. =20 @item =3Dbreakpoint-created,bkpt=3D@{...@} @itemx =3Dbreakpoint-modified,bkpt=3D@{...@} -@itemx =3Dbreakpoint-deleted,bkpt=3D@{...@} +@itemx =3Dbreakpoint-deleted,id=3D@var{number} Reports that a breakpoint was created, modified, or deleted, respectively. Only user-visible breakpoints are reported to the MI user. =20 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{number} is the ordinal number of the breakpoint. =20 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. --=20 1.7.7.6