aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2003-09-25 16:25:56 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2003-09-25 16:25:56 +0000
commit594e6d67cd35735bd5eb9eca720560a8336eac37 (patch)
tree1253e7a915d99d0762e8a88b3036d93619c955e9 /gdb/testsuite
parent898c62f580fabcdd8d8585104d1f91399170df3c (diff)
downloadgdb-594e6d67cd35735bd5eb9eca720560a8336eac37.zip
gdb-594e6d67cd35735bd5eb9eca720560a8336eac37.tar.gz
gdb-594e6d67cd35735bd5eb9eca720560a8336eac37.tar.bz2
* lib/java.exp (java_init): Import target_alias before using it.
Diffstat (limited to 'gdb/testsuite')
-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];