diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-02 09:12:10 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-02 09:12:10 +0000 |
commit | d47921b9571cdd0e0ac1456a9209b48e48c4e317 (patch) | |
tree | 31c99650bd456a1a78c242ab6e74ebc508aef5f4 /gdb | |
parent | 05b2d6c887c5bca2d27e7f8d9d019c2a7f274739 (diff) | |
download | gdb-d47921b9571cdd0e0ac1456a9209b48e48c4e317.zip gdb-d47921b9571cdd0e0ac1456a9209b48e48c4e317.tar.gz gdb-d47921b9571cdd0e0ac1456a9209b48e48c4e317.tar.bz2 |
gdb/testsuite/
* lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/java.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8fc13fe..176ac03 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com> + + * lib/java.exp (compile_java_from_source): Initialize ARGS as a list. + 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug, diff --git a/gdb/testsuite/lib/java.exp b/gdb/testsuite/lib/java.exp index bd24c25..1434e10 100644 --- a/gdb/testsuite/lib/java.exp +++ b/gdb/testsuite/lib/java.exp @@ -93,7 +93,7 @@ proc compile_java_from_source { srcfile binfile compile_args } { if { $java_initialized != 1 } { java_init } - set args "compiler=$GCJ_UNDER_TEST" + set args [list "compiler=$GCJ_UNDER_TEST"] lappend args "additional_flags=--main=[file rootname [file tail $srcfile]]" if { $compile_args != "" } { lappend args "additional_flags=$compile_args" |