From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32202 invoked by alias); 20 May 2005 21:31:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32186 invoked from network); 20 May 2005 21:31:51 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 May 2005 21:31:51 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DZF5z-0002Ye-BU; Fri, 20 May 2005 17:31:51 -0400 Date: Fri, 20 May 2005 21:31:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb@sources.redhat.com Subject: Re: [discuss] Support for reverse-execution Message-ID: <20050520213151.GA9781@nevyn.them.org> Mail-Followup-To: Michael Snyder , gdb@sources.redhat.com References: <428E53AD.7010306@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <428E53AD.7010306@redhat.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00241.txt.bz2 On Fri, May 20, 2005 at 02:16:29PM -0700, Michael Snyder wrote: > >> It would be an interesting discussion to see how bookmarks could be > >> incorporated into the gdb framework. > > > > Sounds like a very useful feature. However, I think we need to > > support giving meaningful names to bookmarks, since a (more or less > > arbitrary) number used by the target is going to lack any mnemonic > > value. > > How about counting numbers, like we do with breakpoints? > > (gdb) get-bookmark > Bookmark #1, line 12, foo.c == > (gdb) continue > Breakpoint 5, line 144, grbx.c > (gdb) info bookmarks > Bookmark ID Location > 1 <###> foo.c line 12 > (gdb) goto-bookmark 1 > Line 12, foo.c (bookmark ) I think Eli's right... why not let the user give them real names? We can give them sequential numbers, too, if we want. I'd probably end up naming all my bookmarks "q", cause that's the sort of person I am, but... -- Daniel Jacobowitz CodeSourcery, LLC