From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5332 invoked by alias); 20 Feb 2011 21:34:11 -0000 Received: (qmail 5025 invoked by uid 22791); 20 Feb 2011 21:34:10 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Feb 2011 21:34:04 +0000 Received: (qmail 9789 invoked from network); 20 Feb 2011 21:34:02 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 20 Feb 2011 21:34:02 -0000 From: Pedro Alves To: msnyder@sonic.net Subject: Re: [RFA] info (break|watch|trace), use get_number_or_range Date: Sun, 20 Feb 2011 21:34:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.33-29-realtime; KDE/4.4.5; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <9c90ed265767e17ab56f1f865d10999d.squirrel@webmail.sonic.net> In-Reply-To: <9c90ed265767e17ab56f1f865d10999d.squirrel@webmail.sonic.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102202129.11630.pedro@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: 2011-02/txt/msg00521.txt.bz2 On Saturday 19 February 2011 18:01:44, msnyder@sonic.net wrote: > > > This will break printing internal breakpoints, which are negative. > > AFAIK, "info break" never supported printing internal breakpoints. > That's what "maint info break" is for. Sorry, I misread and though you were changing breakpoint_1, which is the backend for "info break", "maint info break", etc. Doesn't this patch have the same problem I pointed out with "info threads 1-100", in that you'll print the header once for each breakpoint in the range? -- Pedro Alves