From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23110 invoked by alias); 12 Jul 2009 17:19:08 -0000 Received: (qmail 23099 invoked by uid 22791); 12 Jul 2009 17:19:08 -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 17:19:02 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 9371858000; Sun, 12 Jul 2009 10:18:58 -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 76F8E8EA5F; Sun, 12 Jul 2009 10:18:58 -0700 (PDT) Message-ID: <4A5A19FC.9050206@vmware.com> Date: Sun, 12 Jul 2009 17:19:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Jan Kratochvil CC: Joel Brobecker , "gdb@sourceware.org" , Hui Zhu Subject: Re: Testing of reverse debug commands References: <4A5930EE.3040201@vmware.com> <20090712080145.GB10756@adacore.com> <20090712142834.GA3355@host0.dyn.jankratochvil.net> In-Reply-To: <20090712142834.GA3355@host0.dyn.jankratochvil.net> 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/msg00080.txt.bz2 Jan Kratochvil wrote: > 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]" Hmm, ok, three people so far have responded with work-arounds (thanks). Does that mean y'all lean toward NOT making the commands generate some output of their own? Now would be the time to decide, before the first official release...