From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25434 invoked by alias); 17 Jul 2009 02:32:19 -0000 Received: (qmail 25424 invoked by uid 22791); 17 Jul 2009 02:32:18 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jul 2009 02:32:10 +0000 Received: from totara (118.26.255.123.static.snap.net.nz [123.255.26.118]) by viper.snap.net.nz (Postfix) with ESMTP id E94F13DADFD; Fri, 17 Jul 2009 14:32:06 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id C2DB2C15A; Fri, 17 Jul 2009 14:32:05 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <19039.58021.757138.220152@totara.tehura.co.nz> Date: Fri, 17 Jul 2009 02:32:00 -0000 To: Hui Zhu Cc: Michael Snyder , "gdb@sources.redhat.com" Subject: Re: Reverse debugging In-Reply-To: References: <19035.54231.157231.624882@totara.tehura.co.nz> <4A5BD5F3.1090103@vmware.com> <19035.57129.173542.368393@totara.tehura.co.nz> From: nickrob@snap.net.nz (Nick Roberts) 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: 2009-07/txt/msg00109.txt.bz2 > > ...If I try to reverse a remote target using gdbserver (actually on > > host/local machine - x86_64 this time), I'm not told that the target > > doesn't support this command but reverse-next works just like next unt= il > > I hit a function: > > > > (gdb) reverse-next > > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > 0x0000000000400521 in printf@plt () > > Current language: =A0auto; currently asm > > (gdb) >=20 > Looks like you use an old gdb-cvs version with amd64,right? I didn't think I had an old gdb-cvs version - at least not more than a few days old. > 1. Please use the head version of gdb. It will tell you that amd64 > doesn't support prec now. I've tried it again and it does, indeed, report it. Thanks. > 2. You can try the patch that I post to make gdb support amd64. You > can get the link and other message from > http://sourceware.org/gdb/wiki/ReversibleDebugging I can try it if you wish but I don't have access to any real embedded targets and have only used "target remote" through gdbserver on my local machine. --=20 Nick http://www.inet.net.nz/~nick= rob