gcj/49

green@cygnus.com green@cygnus.com
Sun Mar 5 09:40:00 GMT 2000


The following reply was made to PR gcj/49; it has been noted by GNATS.

From: green@cygnus.com
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, jimb@cygnus.com,
  tromey@cygnus.com
Cc:  
Subject: Re: gcj/49
Date: 5 Mar 2000 17:39:50 -0000

 Synopsis: gcj should generate N_MAIN stab
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: green
 State-Changed-When: Sun Mar  5 09:39:50 2000
 State-Changed-Why:
     I've submitted a patch for the GDB side of things.
     http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00527.html
     
     On the gcj side, all we really need to do is hack jvgenmain
     to emit:
     asm ( ".stabs \"myClass.main\", 0x2a, 0, 0, 0 " );
     ...at the top of the "main" source file.
     
     We should probably only do this on stabs systems.
     
     We will have to invent a DWARF2 way of doing this.  I
     don't think DWARF2 has anything like N_MAIN yet.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=49&database=java


More information about the Java-prs mailing list