From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22570 invoked by alias); 23 Feb 2011 09:22:50 -0000 Received: (qmail 22562 invoked by uid 22791); 23 Feb 2011 09:22:49 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Feb 2011 09:22:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6A8B12BAC5C; Wed, 23 Feb 2011 04:22:44 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VFy4MVDXidH8; Wed, 23 Feb 2011 04:22:44 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 056AD2BABFC; Wed, 23 Feb 2011 04:22:44 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 8E8C41459B0; Wed, 23 Feb 2011 13:22:35 +0400 (RET) Date: Wed, 23 Feb 2011 09:29:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: gdb-patches@sourceware.org Subject: Re: [RFC] move strace call to gdb_init? (away from testcase) Message-ID: <20110223092235.GT2600@adacore.com> References: <20110223072123.GQ2617@adacore.com> <000901cbd336$0a273ef0$1e75bcd0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901cbd336$0a273ef0$1e75bcd0$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00640.txt.bz2 > No testcase changes tracelevel > for now.. ... and I forgot to say that I would consider that to be a bug (to change the strace level without changing it) > What about removing it completely and adding tracelevel variable to > the list of banned variables in lib/gdb.exp currently, this list has > only two items: gdb.exp, line 2767: set banned_variables { bug_id > prms_id } > > just add tracelevel variable to this list and remove all > if {$tracelevel} { > strace $tracelevel > } > from all testcases. That would definitely work for me! -- Joel