From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4358 invoked by alias); 29 Jun 2009 21:52:09 -0000 Received: (qmail 4345 invoked by uid 22791); 29 Jun 2009 21:52:08 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f203.google.com (HELO mail-pz0-f203.google.com) (209.85.222.203) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 21:52:03 +0000 Received: by pzk41 with SMTP id 41so439970pzk.12 for ; Mon, 29 Jun 2009 14:52:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.199.15 with SMTP id w15mr283173wff.305.1246312321574; Mon, 29 Jun 2009 14:52:01 -0700 (PDT) In-Reply-To: <4A490779.9090006@vmware.com> References: <4A490779.9090006@vmware.com> Date: Mon, 29 Jun 2009 21:52:00 -0000 Message-ID: Subject: Re: Some issue with reverse testsuite From: Hui Zhu To: Michael Snyder Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-06/txt/msg00318.txt.bz2 Thanks for your help Michael. I got right message now. Maybe you can update this to http://sourceware.org/gdb/wiki/ReversibleDebug= ging Hui On Tue, Jun 30, 2009 at 02:27, Michael Snyder wrote: > Hui Zhu wrote: >> >> Hi Michael, >> >> I try the reverse testsuite in cvs-head, what I got is: > > [...] > >> It looks like gdb do nothing. =A0Are you sure it works OK? > > You need to use a board description file to enable them. > Oh damn -- I don't know where this stuff is documented. > > Guys -- how do we usually initiate a new maintainer into > the mysteries of dejagnu? > > Hui -- let me tell you the easy (and wrong) way to do it, > just to avoid complexity. =A0Copy the attached file into > /usr/share/dejagnu/baseboards (you'll need to be root). > > Then add "--target_board=3Dprecord" to your RUNTESTFLAGS, > eg. like this: > > =A0make check RUNTESTFLAGS=3D"step-reverse.exp --target_board=3Dprecord" > > > # Testing programs using process record/replay (precord) > > load_base_board_description "unix" > > set_board_info gdb,can_reverse 1 > set_board_info gdb,use_precord 1 > > >