From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13789 invoked by alias); 3 Apr 2010 07:38:20 -0000 Received: (qmail 13766 invoked by uid 22791); 3 Apr 2010 07:38:18 -0000 X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=BAYES_00,RCVD_IN_PSBL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Apr 2010 07:38:10 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L0A00M00ICCD900@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 03 Apr 2010 10:37:21 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0A00IZGII5S370@a-mtaout20.012.net.il>; Sat, 03 Apr 2010 10:37:18 +0300 (IDT) Date: Sat, 03 Apr 2010 07:38:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Fix info tracepoints, etc In-reply-to: <4BB6AF76.6020101@codesourcery.com> To: Stan Shebs Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y6h5ugum.fsf@gnu.org> References: <4BB6AF76.6020101@codesourcery.com> 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: 2010-04/txt/msg00053.txt.bz2 > Date: Fri, 02 Apr 2010 20:01:10 -0700 > From: Stan Shebs > > Originally just a simple fix to make "info tracepoints" display only > tracepoints, it's grown a bit. :-) The key change is to pass an optional > filter function to breakpoint_1, which has a nice bonus of letting "info > watchpoints" being the only-watchpoints lister that it was always > supposed to be - which then requires doc and testsuite changes. I also > took the opportunity of merging the duplicate tracepoint predicates that > found their way into the code, plus there's now a warning that > tracepoints don't do ignore counts. Thanks. > *** doc/gdb.texinfo 1 Apr 2010 14:11:23 -0000 1.693 > --- doc/gdb.texinfo 3 Apr 2010 02:48:16 -0000 This part is okay, but I have one question: > *************** it had been deleted, but remembers the i > *** 4135,4144 **** > that you can @dfn{enable} it again later. > > You disable and enable breakpoints, watchpoints, and catchpoints with > ! the @code{enable} and @code{disable} commands, optionally specifying one > ! or more breakpoint numbers as arguments. Use @code{info break} or > ! @code{info watch} to print a list of breakpoints, watchpoints, and > ! catchpoints if you do not know which numbers to use. > > Disabling and enabling a breakpoint that has multiple locations > affects all of its locations. > --- 4134,4143 ---- > that you can @dfn{enable} it again later. > > You disable and enable breakpoints, watchpoints, and catchpoints with > ! the @code{enable} and @code{disable} commands, optionally specifying > ! one or more breakpoint numbers as arguments. Use @code{info break} to > ! print a list of all breakpoints, watchpoints, and catchpoints if you > ! do not know which numbers to use. Why did you need to remove the reference to "info watch" from this passage? The command is still available, and will do its job.