aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/java.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8145c64..f3981c1 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/lib/java.exp b/gdb/testsuite/lib/java.exp
index bcfd27c..5c1432f 100644
--- a/gdb/testsuite/lib/java.exp
+++ b/gdb/testsuite/lib/java.exp
@@ -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];