From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17946 invoked by alias); 12 Apr 2005 17:59:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17912 invoked from network); 12 Apr 2005 17:59:13 -0000 Received: from unknown (HELO e35.co.us.ibm.com) (32.97.110.133) by sourceware.org with SMTP; 12 Apr 2005 17:59:13 -0000 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e35.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3CHxCLg028786 for ; Tue, 12 Apr 2005 13:59:12 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay05.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3CHxCOL215962 for ; Tue, 12 Apr 2005 11:59:12 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3CHxBob019039 for ; Tue, 12 Apr 2005 11:59:11 -0600 Received: from dyn9047022123-009047022128.beaverton.ibm.com (dyn9047022123-009047022128.beaverton.ibm.com [9.47.22.128]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3CHxBe8019023 for ; Tue, 12 Apr 2005 11:59:11 -0600 From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: gdb-patches@sources.redhat.com Subject: [OBVIOUS] fix test_compiler_info Date: Tue, 12 Apr 2005 17:59:00 -0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200504121057.45747.pgilliam@us.ibm.com> X-SW-Source: 2005-04/txt/msg00093.txt.bz2 In about I'm going to commit the following patch as obvious, unless I get yelled at: 2005-04-12 Paul Gilliam * lib/gdb.exp (test_compiler_info): Give argument a default value. Index: lib/gdb.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v retrieving revision 1.59 diff -c -3 -p -r1.59 gdb.exp *** lib/gdb.exp 6 Apr 2005 21:38:48 -0000 1.59 --- lib/gdb.exp 12 Apr 2005 17:45:05 -0000 *************** proc get_compiler_info {binfile args} { *** 1291,1297 **** return 0; } ! proc test_compiler_info { compiler } { global compiler_info # if no arg, return the compiler_info string --- 1291,1297 ---- return 0; } ! proc test_compiler_info { {compiler ""} } { global compiler_info # if no arg, return the compiler_info string