From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30215 invoked by alias); 18 Feb 2011 10:30:58 -0000 Received: (qmail 30207 invoked by uid 22791); 18 Feb 2011 10:30:57 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,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; Fri, 18 Feb 2011 10:30:52 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGT0000067KPQ00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 18 Feb 2011 12:30:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.140.24]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGT000G06JCLQ50@a-mtaout20.012.net.il>; Fri, 18 Feb 2011 12:30:49 +0200 (IST) Date: Fri, 18 Feb 2011 11:08:00 -0000 From: Eli Zaretskii Subject: Re: [patch] delete a range of display numbers In-reply-to: To: Guillaume Leconte Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vd0hvdls.fsf@gnu.org> References: 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/msg00451.txt.bz2 > Date: Fri, 18 Feb 2011 10:36:18 +0100 > From: Guillaume Leconte > > Notice that I've change the prototype of delete_display() in order > to have a silent return in case of unknown number. If you have set > the display numbers 1, 2, 3 and 5, you can remove 2-5 without any > error messages (number 4 is missing in the list). As a consequence, > you can also remove out of bound numbers, as in 'delete display 5-42' > without having gdb complaining. I think it's a convenient feature, but doing this silently may not be a good idea. How about displaying a note about this? Something like (Ignored some display numbers.) WDYT?