status of ecj branch

Andrew Haley aph@redhat.com
Wed Jun 21 15:48:00 GMT 2006


Per Bothner writes:
 > Andrew Haley wrote:
 > > 3. ecj produces relative pathnames for source files, so gdb can't
 > > find any source.
 > 
 > I suggest teaching ecj to emit SourceDebugExtension, as defined in
 > JSR-45. Eclipse may already support JSR-45. The main focus of
 > JSR-45 is to handle things like source-to-Java translators (such as JSP)
 > and include files, but it also includes a standard way to specify
 > full absoluete source filename.
 > 
 > Kawa emits SourceDebugExtension, and in March 2005 I added support to
 > jcf-dump to print it sanely. For example kawa/lib/vectors.class:
 > 
 > Attributes (count: 2):
 > Attribute "SourceFile", length:2, #352="vectors.scm"
 > Attribute "SourceDebugExtension", length:113
 > SMAP
 > vectors.scm
 > Scheme
 > *S Scheme
 > *F
 > + 1 vectors.scm
 > /home/bothner/Kawa/head/kawa/lib/vectors.scm
 > *L
 > 1#1,37:1
 > *E
I just built Kawa from svn head, and I get:
Attribute "SourceDebugExtension", length:66
SMAP
vectors.scm
Scheme
*S Scheme
*F
1 vectors.scm
*L
1#1,37:1
*E


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /