mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
gdb/testsuite/
* lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
This commit is contained in:
parent
05b2d6c887
commit
d47921b957
@ -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,
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user