From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12501 invoked by alias); 25 Sep 2003 16:10:09 -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 12441 invoked from network); 25 Sep 2003 16:10:07 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.54) by sources.redhat.com with SMTP; 25 Sep 2003 16:10:07 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA09574; Thu, 25 Sep 2003 17:10:04 +0100 (BST) Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.9.3) with ESMTP id h8PGA4f27662; Thu, 25 Sep 2003 17:10:04 +0100 Message-Id: <200309251610.h8PGA4f27662@pc960.cambridge.arm.com> X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha owned process doing -bs To: gdb-patches@sources.redhat.com cc: Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: GDB PATCH Fix lib/java.exp import of target_alias Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_3985726790" Date: Thu, 25 Sep 2003 16:10:00 -0000 From: Richard Earnshaw X-SW-Source: 2003-09/txt/msg00563.txt.bz2 This is a multipart MIME message. --==_Exmh_3985726790 Content-Type: text/plain; charset=us-ascii Content-length: 387 lib/java.exp in the testsuite uses the target_alias variable without first importing it. That gives a tcl error. This patch fixes that (though it doesn't get the tests running for me, it seems that the compiles don't work if libjava isn't installed first). OK? R. Richard Earnshaw * lib/java.exp (java_init): Import target_alias before using it. --==_Exmh_3985726790 Content-Type: text/plain ; name="gdb-java.patch"; charset=us-ascii Content-Description: gdb-java.patch Content-Disposition: attachment; filename="gdb-java.patch" Content-length: 521 Index: java.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/java.exp,v retrieving revision 1.1 diff -p -r1.1 java.exp *** java.exp 24 Jul 2000 04:34:52 -0000 1.1 --- java.exp 25 Sep 2003 16:08:37 -0000 *************** proc java_init { args } { *** 33,38 **** --- 33,39 ---- set GCJ_UNDER_TEST $env(GCJ) } else { global tool_root_dir + global target_alias if ![is_remote host] { set file [lookfor_file $tool_root_dir gcj]; --==_Exmh_3985726790--