libgcj/68

tromey@cygnus.com tromey@cygnus.com
Wed Nov 3 15:16:00 GMT 1999


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

From: tromey@cygnus.com
To: java-gnats@sourceware.cygnus.com, sugar@mb.infosnow.ne.jp,
  tromey@cygnus.com
Cc:  
Subject: Re: libgcj/68
Date: 3 Nov 1999 23:12:24 -0000

 Synopsis: compile error for prims.cc
 
 State-Changed-From-To: open->feedback
 State-Changed-By: tromey
 State-Changed-When: Wed Nov  3 15:12:24 1999
 State-Changed-Why:
     Try this patch.  I don't know if it will work or not.
     (I don't even know if it compiles...)
     If so, tell me and I'll apply it, and close this PR.
     If not, we'll need more help from you, because I can't
     reproduce the problem here (I'm running a different
     kernel, etc, than you I guess)
     
     Index: include/i386-signal.h
     ===================================================================
     RCS file: /cvs/java/libgcj/libjava/include/i386-signal.h,v
     retrieving revision 1.5
     diff -u -r1.5 i386-signal.h
     --- i386-signal.h	1999/07/07 09:09:39	1.5
     +++ i386-signal.h	1999/11/03 23:10:39
     @@ -17,6 +17,7 @@
      #define JAVA_SIGNAL_H 1
      
      #include <signal.h>
     +#include <sigcontext.h>
      
      #define HANDLE_SEGV 1
      #define HANDLE_FPE 1
     @@ -28,7 +29,7 @@
      do									\
      {									\
        void **_p = (void **)&_dummy;						\
     -  struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p;	\
     +  struct sigcontext *_regs = (struct sigcontext *)++_p;			\
      									\
        register unsigned long _ebp = _regs->ebp;				\
        register unsigned char *_eip = (unsigned char *)_regs->eip;		\
     @@ -47,7 +48,7 @@
      do									\
      {									\
        void **_p = (void **)&_dummy;						\
     -  struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p;	\
     +  struct sigcontext *_regs = (struct sigcontext *)++_p;			\
      									\
        register unsigned long *_ebp = (unsigned long *)_regs->ebp;		\
        register unsigned char *_eip = (unsigned char *)_regs->eip;		\
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=68


More information about the Java-prs mailing list