From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21092 invoked by alias); 20 May 2005 21:51:24 -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 20973 invoked from network); 20 May 2005 21:51:20 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 20 May 2005 21:51:20 -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 j4KLpKx1014020 for ; Fri, 20 May 2005 17:51:20 -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 j4KLpKO27026 for ; Fri, 20 May 2005 17:51:20 -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 j4KLpIa8012458 for ; Fri, 20 May 2005 17:51:18 -0400 Message-ID: <428E5BD5.4020305@redhat.com> Date: Fri, 20 May 2005 21:51:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird (X11/20050322) MIME-Version: 1.0 To: 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/msg00244.txt.bz2 >>> Would not it be better to have a single "reverse" command which >>> puts the debugger in "reverse" mode -- making step/stepi/next/nexti >>> go backward. >> >> Daniel, I rest my case ;-) > > I don't rest mine :-) I admit I was a little surprised to see > someone else suggest it, but I still think it's an awful idea as > a user interface. Make me a third person who thought of it independantly. Look at it this way -- once we've implemented the reverse-x command set, adding this would be trivial; just a single set/show mode variable. Then we could evaluate both, or even leave it to the user to choose.