# This test code is part of GDB, the GNU debugger.
-# Copyright 1998, 1999, 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011
-# Free Software Foundation, Inc.
+# Copyright 1998-2013 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
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"