From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31737 invoked by alias); 18 Dec 2008 08:35:49 -0000 Received: (qmail 31729 invoked by uid 22791); 18 Dec 2008 08:35:49 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Dec 2008 08:35:10 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LDELZ-0007iM-J4 for gdb-patches@sources.redhat.com; Thu, 18 Dec 2008 08:35:05 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Dec 2008 08:35:05 +0000 Received: from vladimir by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Dec 2008 08:35:05 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: reverse for GDB/MI Date: Thu, 18 Dec 2008 08:35:00 -0000 Message-ID: References: <49463870.6080302@virtutech.com> <494A0A9C.6020809@virtutech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 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: 2008-12/txt/msg00320.txt.bz2 Tomas Holmberg wrote: >> I am not quite sure about adding new set of commands for that. Can we use >> --reverse option, thereby not introducing new commands? > > Adding a reverse option to the existing commands is possible. But I do > not think it is a good idea. It is not always obvious what should > happen when running a standard command in reverse. Why? -exec-step always steps forward. -exec-step --reverse always steps backward. Seems like a fairly simple model to me. - Volodya