Patch: enable debugging info when byte compiling

Andrew Haley aph@redhat.com
Thu Aug 5 11:22:00 GMT 2004


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

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

Index: testsuite/lib/libjava.exp
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/lib/libjava.exp,v
retrieving revision 1.58
diff -p -2 -c -r1.58 libjava.exp
*** testsuite/lib/libjava.exp   10 May 2004 20:44:13 -0000      1.58
--- testsuite/lib/libjava.exp   4 Aug 2004 16:43:02 -0000
*************** proc bytecompile_file { file objdir {cla
*** 110,116 ****
      set here [pwd]
      cd $dirname
!     send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
      if {[catch {
!       set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
      } msg]} then {
        send_log "couldn't compile $file: $msg\n"
--- 110,116 ----
      set here [pwd]
      cd $dirname
!     send_log "byte compile: $javac -g [list $file] -d $objdir 2>@ stdout\n"
      if {[catch {
!       set q [eval exec "$javac -g [list $file] -d $objdir 2>@ stdout"]
      } msg]} then {
        send_log "couldn't compile $file: $msg\n"



More information about the Java-patches mailing list