From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21752 invoked by alias); 7 Apr 2008 12:14:08 -0000 Received: (qmail 21744 invoked by uid 22791); 7 Apr 2008 12:14:07 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Apr 2008 12:13:48 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1C10A98150; Mon, 7 Apr 2008 12:13:46 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D1CBA98140; Mon, 7 Apr 2008 12:13:45 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JiqEK-0001nF-UA; Mon, 07 Apr 2008 08:13:44 -0400 Date: Mon, 07 Apr 2008 19:01:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: Specifying 'async mode' for testing Message-ID: <20080407121344.GA6675@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb@sources.redhat.com References: <200804071246.56722.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804071246.56722.vladimir@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-04/txt/msg00059.txt.bz2 On Mon, Apr 07, 2008 at 12:46:56PM +0400, Vladimir Prus wrote: > > While updating MI testsuite for async mode and other discussed changes, > I find it preferable to know if we're testing async-enabled target, or > not. In particular, because in async mode the order of some output is > different, and creating a regexp that will catch all valid output and > will not miss invalid output is a bit complex. > > What's the best way to specify async mode? One approach is use a board > file, and put: > > set_board_info async 1 > > there, but creating board file is a nuisance. Is there any way to specify > async mode on the command line of runtest? You could ask GDB whether it was in async mode, with show? Or you could use "runtest GDB_ASYNC=1", then it will show up as a TCL global. -- Daniel Jacobowitz CodeSourcery