* 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 8145c64dd84e619f8b05bfd1dddff834c2b29dc4..f3981c13007754124255667d1ad8c61ec41a9b2c 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 bcfd27c9ce05f3ff392a37c0825a3908e6ebadc5..5c1432fcd375195b2c144eabf916d6d2ebace076 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];