From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26350 invoked by alias); 17 Aug 2009 15:31:52 -0000 Received: (qmail 26339 invoked by uid 22791); 17 Aug 2009 15:31:50 -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-px0-f193.google.com (HELO mail-px0-f193.google.com) (209.85.216.193) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Aug 2009 15:31:41 +0000 Received: by pxi31 with SMTP id 31so1446988pxi.24 for ; Mon, 17 Aug 2009 08:31:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.26.42 with SMTP id d42mr715194wfj.219.1250523099438; Mon, 17 Aug 2009 08:31:39 -0700 (PDT) In-Reply-To: <200908171255.28644.pedro@codesourcery.com> References: <002001ca1f0e$4c9b74a0$e5d25de0$@com> <002101ca1f2e$746e1ad0$5d4a5070$@com> <200908171251.07179.pedro@codesourcery.com> <200908171255.28644.pedro@codesourcery.com> From: Hui Zhu Date: Mon, 17 Aug 2009 15:52:00 -0000 Message-ID: Subject: Re: gdb reverse execution: how to actually run tests for it? To: Pedro Alves Cc: gdb@sourceware.org, Jakob Engblom 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-08/txt/msg00143.txt.bz2 On Mon, Aug 17, 2009 at 19:55, Pedro Alves wrote: > On Monday 17 August 2009 12:51:06, Pedro Alves wrote: >> In any case, for the cases a board file is needed for testing >> reverse, it would be nice to have that explained in the >> wiki (or somewhere else). > > I should add that it is a shame that the remote targets > don't report support for reverse until GDB tries it first... > > How bad is the failure mode in the reverse tests if the target > does not support reverse at all? =A0Can't we try a simple > probing-for-support reverse test and if that fails skip the > rest of the reverse tests? =A0That would likely get rid of all > the current needs for a hacked board file. > > -- > Pedro Alves > It will be very helpful. If the target don't support reverse, it will out like: (gdb) rc Target child does not support this command. Thanks, Hui