libjava.exp (bytecompile_file): Byte compile with debugging.
authorAndrew Haley <aph@redhat.com>
Wed, 4 Aug 2004 16:49:21 +0000 (16:49 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 4 Aug 2004 16:49:21 +0000 (16:49 +0000)
2004-08-04  Andrew Haley  <aph@redhat.com>

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

From-SVN: r85565

libjava/ChangeLog
libjava/testsuite/lib/libjava.exp

index fdd047bc91afe07362061343ce716f97c9d6eac4..db4f37c981a368df0907003754e218958b0a4362 100644 (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 []).
index ad76f8b0412eadbbca5de853115e8dccfc795369..c28addf9944aa5a36cbe9fd5ccff353a5a09ce0c 100644 (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