From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24332 invoked by alias); 12 Jul 2009 14:29:20 -0000 Received: (qmail 24315 invoked by uid 22791); 12 Jul 2009 14:29:19 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jul 2009 14:29:08 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6CESdv2032181; Sun, 12 Jul 2009 10:28:41 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6CEScUW007255; Sun, 12 Jul 2009 10:28:38 -0400 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n6CESbKk003684; Sun, 12 Jul 2009 10:28:38 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n6CESas0004700; Sun, 12 Jul 2009 16:28:37 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n6CESYYM004687; Sun, 12 Jul 2009 16:28:34 +0200 Date: Sun, 12 Jul 2009 14:29:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: Michael Snyder , gdb@sourceware.org, Hui Zhu Subject: Re: Testing of reverse debug commands Message-ID: <20090712142834.GA3355@host0.dyn.jankratochvil.net> References: <4A5930EE.3040201@vmware.com> <20090712080145.GB10756@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090712080145.GB10756@adacore.com> User-Agent: Mutt/1.5.19 (2009-01-05) 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/msg00079.txt.bz2 On Sun, 12 Jul 2009 10:01:45 +0200, Joel Brobecker wrote: > > gdb_test "record" "" "Turn on process record" > > # FIXME: command ought to acknowledge, so we can test if it succeeded. > > This is just a shot in the dark since I really don't have much time > to double-check this, but does gdb_test_multiple allow you to verify > that no output was generated? For some reason, I thought it did. This one works but not sure if it cannot have some problems: set cmd "set verbose 0" gdb_test $cmd "[string_to_regexp $cmd]" Regards, Jan