powerpc port

jim hopper hopperj at macconnect.com
Fri Aug 13 20:43:42 PDT 1999


redid configure with debug on.  when i do this in kaffe/kaffevm/mem/gc-mem.c
the following code exists:

#if !defined(HAVE_MPROTECT) || !defined(DEBUG)
#define mprotect(A,L,P)
#define ALL_PROT
#define NO_PROT
#else
/* In a sense, this is backwards. */
#define ALL_PROT PROT_READ|PROT_WRITE|PROT_EXEC
#define NO_PROT  PROT_NONE
#endif


when debug is off it takes to top path, with debug on it takes the 
bottom (i do have the function mprotect.  problem is that i cant find 
where PROT_READ etc are defined.  sould i just force it to do top 
path even with debug on?

thanks jim
At a recent computer software engineering course in the US, the participants
were given an awkward question to answer.  "If you had just boarded an
airliner and discovered that your team of programmers had been responsible
for the flight control software, how many of you would disembark
immediately?"
                     unknown author


More information about the kaffe mailing list