From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12132 invoked by alias); 16 Oct 2002 08:23:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 12124 invoked from network); 16 Oct 2002 08:23:45 -0000 Received: from unknown (HELO plum.csi.cam.ac.uk) (131.111.8.3) by sources.redhat.com with SMTP; 16 Oct 2002 08:23:45 -0000 Received: from student.cusu.cam.ac.uk ([131.111.179.82] helo=kern.srcf.societies.cam.ac.uk ident=mail) by plum.csi.cam.ac.uk with esmtp (Exim 4.10) id 181jSy-0003fl-00; Wed, 16 Oct 2002 09:23:44 +0100 Received: from jsm28 (helo=localhost) by kern.srcf.societies.cam.ac.uk with local-esmtp (Exim 3.35 #1 (Debian)) id 181jSy-0004kn-00; Wed, 16 Oct 2002 09:23:44 +0100 Date: Wed, 16 Oct 2002 03:25:00 -0000 From: "Joseph S. Myers" X-X-Sender: To: Zack Weinberg cc: Subject: Re: Request of new __attribute__ for switch statements (elimination of the bounds check) In-Reply-To: <20021016004929.GO15067@codesourcery.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-10/txt/msg00926.txt.bz2 On Tue, 15 Oct 2002, Zack Weinberg wrote: > (If I had a nickel for every time I've wanted a "step backward" > command in gdb...) : # I have enough information available in the proxy ptrace filter to # implement PTRACE_SINGLESTEP_BACKWARDS. How would you like to have that # capability in gdb? "Execute backwards until this data watchpoint # changes." Imagine a graphical debugger with a scrollbar for time, # where the top is "beginning of execution" and the bottom is "end of # execution." (AFAIK there still isn't a useful "step backwards" capability based on this technology.) -- Joseph S. Myers jsm28@cam.ac.uk