diff options
Diffstat (limited to 'gdb/testsuite/lib/java.exp')
-rw-r--r-- | gdb/testsuite/lib/java.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/java.exp b/gdb/testsuite/lib/java.exp index 3a0b214..648741d 100644 --- a/gdb/testsuite/lib/java.exp +++ b/gdb/testsuite/lib/java.exp @@ -1,6 +1,6 @@ # This test code is part of GDB, the GNU debugger. -# Copyright 1998, 1999, 2000, 2003, 2004 +# Copyright 1998, 1999, 2000, 2003, 2004, 2006 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -111,7 +111,7 @@ proc compile_java_from_source { srcfile binfile compile_args } { set errname "$errname $compile_args" } - set x [target_compile $srcfile ${binfile} ${binfile} $args] + set x [target_compile $srcfile ${binfile} executable $args] if { $x != "" } { verbose "target_compile failed: $x" 2 return "$errname compilation from source"; |