From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31804 invoked by alias); 20 Jun 2012 19:27:57 -0000 Received: (qmail 31795 invoked by uid 22791); 20 Jun 2012 19:27:56 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jun 2012 19:27:39 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5KJRcCG014916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Jun 2012 15:27:38 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5KJRag6019056 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 20 Jun 2012 15:27:38 -0400 Message-ID: <4FE22428.2090807@redhat.com> Date: Wed, 20 Jun 2012 19:27:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: "gdb-patches@sourceware.org ml" Subject: [RFA/doc] Cleanup -break-insert documentation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-06/txt/msg00642.txt.bz2 Hi, While working on some MI-related tasks, I had occasion to peek at the documentation for -break-insert. This patch does several minor things: - it re-orders the list of options to for -break-insert to match the order given in synopsis - it uses "thread-id" instead of "thread" in the synopsis (to make it more consistent with other documentation) - it adds/documents "-p" in the list of options Keith doc/ChangeLog 2012-06-20 Keith Seitz * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options for -break-insert and document -p. Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.976 diff -u -p -r1.976 gdb.texinfo --- doc/gdb.texinfo 20 Jun 2012 04:02:21 -0000 1.976 +++ doc/gdb.texinfo 20 Jun 2012 19:06:34 -0000 @@ -28020,7 +28020,7 @@ N.A. @smallexample -break-insert [ -t ] [ -h ] [ -f ] [ -d ] [ -a ] [ -c @var{condition} ] [ -i @var{ignore-count} ] - [ -p @var{thread} ] [ @var{location} ] + [ -p @var{thread-id} ] [ @var{location} ] @end smallexample @noindent @@ -28043,10 +28043,6 @@ The possible optional parameters of this Insert a temporary breakpoint. @item -h Insert a hardware breakpoint. -@item -c @var{condition} -Make the breakpoint conditional on @var{condition}. -@item -i @var{ignore-count} -Initialize the @var{ignore-count}. @item -f If @var{location} cannot be parsed (for example if it refers to unknown files or functions), create a pending @@ -28058,6 +28054,12 @@ Create a disabled breakpoint. @item -a Create a tracepoint. @xref{Tracepoints}. When this parameter is used together with @samp{-h}, a fast tracepoint is created. +@item -c @var{condition} +Make the breakpoint conditional on @var{condition}. +@item -i @var{ignore-count} +Initialize the @var{ignore-count}. +@item -p @var{thread-id} +Restrict the breakpoint to the specified @var{thread-id}. @end table @subsubheading Result