From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19273 invoked by alias); 20 May 2005 21:16:35 -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 19260 invoked from network); 20 May 2005 21:16:32 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 20 May 2005 21:16:32 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j4KLGWBL006018 for ; Fri, 20 May 2005 17:16:32 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j4KLGVO13881; Fri, 20 May 2005 17:16:31 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j4KLGTa8010553; Fri, 20 May 2005 17:16:30 -0400 Message-ID: <428E53AD.7010306@redhat.com> Date: Fri, 20 May 2005 21:16:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird (X11/20050322) MIME-Version: 1.0 To: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: [discuss] Support for reverse-execution Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00238.txt.bz2 >> 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 )