From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30525 invoked by alias); 18 Feb 2011 17:44:33 -0000 Received: (qmail 30459 invoked by uid 22791); 18 Feb 2011 17:44:32 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 17:44:28 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 67D5133004; Fri, 18 Feb 2011 09:44:27 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 5C4D3CD963; Fri, 18 Feb 2011 09:44:27 -0800 (PST) Message-ID: <4D5EAFFA.5010200@vmware.com> Date: Fri, 18 Feb 2011 17:52:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: Pedro Alves CC: "gdb-patches@sourceware.org" , Guillaume Leconte , Eli Zaretskii Subject: Re: [patch] delete a range of display numbers References: <83vd0hvdls.fsf@gnu.org> <201102181159.00201.pedro@codesourcery.com> In-Reply-To: <201102181159.00201.pedro@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-15; 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: 2011-02/txt/msg00482.txt.bz2 Pedro Alves wrote: > The "delete" breakpoint command accepts ranges as > well, and even has code that handles convenience > variables mixed with the numbers. I think we should > reuse that instead of re-adding code that parses ranges. > Might as well make the "delete display" command > implementation look more like the "delete" command > implementation. Here's a quick cut at it. > Yes, I was wishing that that code were reuseable, so that I could use it for info threads.