From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32691 invoked by alias); 12 Jul 2009 00:44:38 -0000 Received: (qmail 32682 invoked by uid 22791); 12 Jul 2009 00:44:37 -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-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jul 2009 00:44:32 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 0499F3B001; Sat, 11 Jul 2009 17:44:29 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost2.vmware.com (Postfix) with ESMTP id DD8A58E9DB; Sat, 11 Jul 2009 17:44:28 -0700 (PDT) Message-ID: <4A5930EE.3040201@vmware.com> Date: Sun, 12 Jul 2009 00:44:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: gdb@sourceware.org, Hui Zhu Subject: Testing of reverse debug commands Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00076.txt.bz2 Hello all, If you were to take a look at the expect scripts for any of the tests I've submitted for testing reverse debugging, you would notice a couple of FIXME comments in there, eg.: gdb_test "record" "" "Turn on process record" # FIXME: command ought to acknowledge, so we can test if it succeeded. gdb_test "set exec-dir reverse" "" "set reverse execution" # FIXME: command needs to acknowledge, so we can test if it succeeded. This is my concern. These commands don't produce any output, so we can't directly test whether they succeeded or not. So I'm asking for input. Do you think we should make these commands generate a little output, so we know they worked? Or do we just depend on the following tests to fail if they didn't? Cheers, Michael