From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8875 invoked by alias); 31 Aug 2010 20:11:01 -0000 Received: (qmail 8852 invoked by uid 22791); 31 Aug 2010 20:10:58 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,RCVD_ILLEGAL_IP X-Spam-Check-By: sourceware.org Received: from imr4.ericy.com (HELO imr4.ericy.com) (198.24.6.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Aug 2010 20:10:53 +0000 Received: from eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id o7VKI6KM007087; Tue, 31 Aug 2010 15:18:12 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.134]) by eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) with mapi; Tue, 31 Aug 2010 16:10:43 -0400 From: Marc Khouzam To: "'Pedro Alves'" CC: "'Michael Snyder'" , "'gdb@sourceware.org'" Date: Tue, 31 Aug 2010 20:11:00 -0000 Subject: RE: Different output from -gdb-show than show Message-ID: References: <4C7D58D5.4010907@vmware.com> <201008312102.50990.pedro@codesourcery.com> In-Reply-To: <201008312102.50990.pedro@codesourcery.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00186.txt.bz2 > -----Original Message----- > From: Pedro Alves [mailto:pedro@codesourcery.com]=20 > Sent: Tuesday, August 31, 2010 4:03 PM > To: Marc Khouzam > Cc: 'Michael Snyder'; 'gdb@sourceware.org' > Subject: Re: Different output from -gdb-show than show >=20 > >=20 > > Here is what I'm planning to do to see if a target supports reverse > > execution: > >=20 > > -gdb-set exec-direction reverse > > show exec-direction > > -gdb-set exec-direction forward > >=20 > > If the 'show' command shows "Reverse", I'll know that the target > > supports reverse execution. (I have to do it like this because=20 > > I also want it to work for 7.0 and 7.1) > >=20 > > That is the only thing I found that gave me that info without > > side-effects. Makes sense? >=20 > Yes. You may want to issue an "-gdb-set exec-direction forward" > upfront to clean up any stale state from a previous run/target > as well...=20 Should be new sessions every time with Eclipse (at least for now). > Also, it may wreck havoc in non-stop if the target is > already executing...=20=20 You are right. Thanks for pointing it out. Nothing I can do in that case then? > I think listing support for reverse > in "-list-target-features" would be nice? Definitely sounds like there should be some way to get that info.