Guilhem Lavaux ([EMAIL PROTECTED]) wrote: > Could you try the attached patch file ? This problem is already known > and we need to rewrite > this part of profiling. However for the moment it is not done. :(
Yes, it compiles with this. > Index: config/i386/openbsd2/md.h > =================================================================== > RCS file: /cvs/kaffe/kaffe/config/i386/openbsd2/md.h,v > retrieving revision 1.2 > diff -u -r1.2 md.h > --- config/i386/openbsd2/md.h 1 Apr 1998 04:18:48 -0000 1.2 > +++ config/i386/openbsd2/md.h 23 Aug 2003 08:00:39 -0000 > @@ -21,6 +21,12 @@ > #undef SP_OFFSET > #define SP_OFFSET 2 > > +/* Define signal context macros for xprofiling */ > +#define SIGNAL_ARGS(sig, sc) int sig, int __code, struct sigcontext *sc > +#define SIGNAL_CONTEXT_POINTER(scp) struct sigcontext *scp > +#define GET_SIGNAL_CONTEXT_POINTER(sc) (sc) > +#define SIGNAL_PC(scp) (scp)->sc_pc > + > #if defined(TRANSLATOR) > #include "jit-md.h" > #endif -- Greg Wooledge | "Truth belongs to everybody." [EMAIL PROTECTED] | - The Red Hot Chili Peppers http://wooledge.org/~greg/ |
pgp00000.pgp
Description: PGP signature
