From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28056 invoked by alias); 29 Jun 2009 18:29:13 -0000 Received: (qmail 28047 invoked by uid 22791); 29 Jun 2009 18:29:12 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 18:29:06 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 7709629003; Mon, 29 Jun 2009 11:29:05 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id 673D5CDA85; Mon, 29 Jun 2009 11:29:05 -0700 (PDT) Message-ID: <4A490779.9090006@vmware.com> Date: Mon, 29 Jun 2009 18:29:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Hui Zhu CC: "gdb@sourceware.org" Subject: Re: Some issue with reverse testsuite References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------090208040209010005070509" 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/msg00312.txt.bz2 This is a multi-part message in MIME format. --------------090208040209010005070509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 668 Hui Zhu wrote: > Hi Michael, > > I try the reverse testsuite in cvs-head, what I got is: [...] > It looks like gdb do nothing. Are 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. Copy the attached file into /usr/share/dejagnu/baseboards (you'll need to be root). Then add "--target_board=precord" to your RUNTESTFLAGS, eg. like this: make check RUNTESTFLAGS="step-reverse.exp --target_board=precord" --------------090208040209010005070509 Content-Type: text/plain; name="precord.exp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="precord.exp" Content-length: 161 # 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 --------------090208040209010005070509--