From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9486 invoked by alias); 31 Aug 2010 19:40:09 -0000 Received: (qmail 9477 invoked by uid 22791); 31 Aug 2010 19:40:09 -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 19:40:02 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id o7VJlJkX001547; Tue, 31 Aug 2010 14:47:21 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.134]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Tue, 31 Aug 2010 15:39:54 -0400 From: Marc Khouzam To: "'Michael Snyder'" , "'Pedro Alves'" CC: "'gdb@sourceware.org'" Date: Tue, 31 Aug 2010 19:40:00 -0000 Subject: RE: Different output from -gdb-show than show Message-ID: References: <201008312007.57425.pedro@codesourcery.com> <4C7D5397.4000809@vmware.com> <201008312029.48109.pedro@codesourcery.com> <4C7D58D5.4010907@vmware.com> In-Reply-To: <4C7D58D5.4010907@vmware.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/msg00184.txt.bz2 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Michael Snyder > Sent: Tuesday, August 31, 2010 3:33 PM > To: Pedro Alves > Cc: gdb@sourceware.org; Marc Khouzam > Subject: Re: Different output from -gdb-show than show >=20 > Pedro Alves wrote: >=20 > > Note "Forward." vs "forward". > >=20 > >> 2010-08-31 Michael Snyder=20=20 > > >> > >> * infrun.c (set_exec_direction_func): Error out if=20 > target does not > >> support reverse execution. > >=20 > > Okay. >=20 > Thanks, applied to trunk and branch. Thanks guys! Here is what I'm planning to do to see if a target supports reverse execution: -gdb-set exec-direction reverse show exec-direction -gdb-set exec-direction forward 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) That is the only thing I found that gave me that info without side-effects. Makes sense? Marc