* lib/java.exp (java_init): Import target_alias before using it.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 25 Sep 2003 16:25:56 +0000 (16:25 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 25 Sep 2003 16:25:56 +0000 (16:25 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/lib/java.exp

index 8145c64..f3981c1 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
+
+       * lib/java.exp (java_init): Import target_alias before using it.
+
 2003-09-25  David Carlton  <carlton@kealia.com>
 
        * gdb.base/corefile.exp: Delete obsolete setup_xfail.
index bcfd27c..5c1432f 100644 (file)
@@ -33,6 +33,7 @@ proc java_init { args } {
                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];