From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22228 invoked by alias); 8 Oct 2008 00:55:03 -0000 Received: (qmail 22142 invoked by uid 22791); 8 Oct 2008 00:55:02 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Oct 2008 00:54:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4779A2A96A7; Tue, 7 Oct 2008 20:54:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id z+wRZH8dgG1S; Tue, 7 Oct 2008 20:54:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 07C372A969D; Tue, 7 Oct 2008 20:54:25 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6F7CBE7ACD; Tue, 7 Oct 2008 20:54:24 -0400 (EDT) Date: Wed, 08 Oct 2008 00:55:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: "gdb-patches@sourceware.org" , Pedro Alves , teawater Subject: Re: [RFA] Reverse Debugging, 1/5 Message-ID: <20081008005424.GC3810@adacore.com> References: <20081006211131.GA26663@caradoc.them.org> <48EA8065.9070001@vmware.com> <20081006212504.GB31085@caradoc.them.org> <48EA868E.3070404@vmware.com> <20081006222258.GF21853@adacore.com> <48EAB0AD.30906@vmware.com> <20081007034840.GE28138@adacore.com> <48EBAA24.2080700@vmware.com> <20081008001541.GA3810@adacore.com> <48EBFEE7.6020500@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EBFEE7.6020500@vmware.com> User-Agent: Mutt/1.4.2.2i 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-10/txt/msg00232.txt.bz2 > Just, well, then target_set_execdir does not actually > set the exec direction -- instead it sort of tells you > if it's *ok* to set the exec direction -- which is what > I would think of as target_can_reverse. I think that the overloading of the word target is making it very hard to understand each other. Again, target_set_exec_dir would tell the inferior that, from now on, the exec direction for all future resumes will be (forward|reverse). If the target method is unset, then we know the feature is unsupported. If it is set, and it fails, then refuse the change of direction - feature not supported either. Otherwise, update the infrun direction with the new direction. -- Joel