From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3107 invoked by alias); 31 Aug 2010 15:03:12 -0000 Received: (qmail 2919 invoked by uid 22791); 31 Aug 2010 15:03:10 -0000 X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_20,RCVD_ILLEGAL_IP X-Spam-Check-By: sourceware.org Received: from imr3.ericy.com (HELO imr3.ericy.com) (198.24.6.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Aug 2010 15:02:54 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id o7VF2qtx010477 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 31 Aug 2010 10:02:52 -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 11:02:46 -0400 From: Marc Khouzam To: "'gdb@sourceware.org'" Date: Tue, 31 Aug 2010 15:03:00 -0000 Subject: Different output from -gdb-show than show Message-ID: 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/msg00173.txt.bz2 Hi, while looking for a way know if a target supports reverse execution I noticed this: > gdb.7.2 -i mi testing/a.out (gdb) start (gdb) -gdb-set exec-direction reverse ^done (gdb) -gdb-show exec-direction ^done,value=3D"reverse" (gdb) show exec-direction &"show exec-direction\n" ~"Forward.\n" ^done For some reason, -gdb-show is giving a different result than CLI show. For my "does target support reverse" case, I will be forced to use 'show'. Bug? Thanks Marc =20 =20