From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24428 invoked by alias); 21 Sep 2011 03:55:11 -0000 Received: (qmail 24416 invoked by uid 22791); 21 Sep 2011 03:55:10 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BP,TW_TB X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 03:54:56 +0000 Received: by vws16 with SMTP id 16so2408866vws.0 for ; Tue, 20 Sep 2011 20:54:56 -0700 (PDT) Received: by 10.52.178.97 with SMTP id cx1mr136021vdc.151.1316577296074; Tue, 20 Sep 2011 20:54:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.165.5 with HTTP; Tue, 20 Sep 2011 20:54:15 -0700 (PDT) In-Reply-To: References: <4E777733.8010107@earthlink.net> From: Hui Zhu Date: Wed, 21 Sep 2011 06:11:00 -0000 Message-ID: Subject: Re: [PATCH] Add command resetbpnum for reset $bpnum To: Sergio Durigan Junior , Stan Shebs Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-09/txt/msg00377.txt.bz2 Sorry guys. After a long think about this patch. I think most issues(they are around python script) that I meet can be handle by get the last breakpoint id from $bpnum. So I think I will give up this patch. But if I meet a issue that only can handle by reset $bpnum, I will post it. Thanks for your help. Best, Hui On Tue, Sep 20, 2011 at 02:56, Sergio Durigan Junior wrote: > Stan Shebs writes: > >> So before breaking before one of the longest-standing UI design >> decisions in GDB, it seems like we ought to get a little more >> understanding of why a user might want to reset breakpoint numbering. > > I second that. =A0I read the patch and couldn't come up with a scenario > where the user would want to use this `reset' feature. =A0Hui, can you > explain a bit more why you thought this would be a good idea? =A0I was not > convinced by your example. >