libjava.exp (bytecompile_file): Byte compile with debugging.

2004-08-04  Andrew Haley  <aph@redhat.com>

        * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
        debugging.

From-SVN: r85565
This commit is contained in:
Andrew Haley 2004-08-04 16:49:21 +00:00 committed by Andrew Haley
parent 54e0b09f61
commit 76207f7c2b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-08-04 Andrew Haley <aph@redhat.com>
* testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
debugging.
2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Eliminate uses of changequote (mostly by quoting []).

View File

@ -109,9 +109,9 @@ proc bytecompile_file { file objdir {classpath {}} } {
}
set here [pwd]
cd $dirname
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
send_log "byte compile: $javac -g [list $file] -d $objdir 2>@ stdout\n"
if {[catch {
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
set q [eval exec "$javac -g [list $file] -d $objdir 2>@ stdout"]
} msg]} then {
send_log "couldn't compile $file: $msg\n"
set r 0