Ignore:
Timestamp:
Dec 26, 2008, 2:49:51 AM (12 years ago)
Author:
gb
Message:

Not the bug I was looking for either, but un-botch some of the GC-state-saving
changes from a few weeks ago: save_application() is always run with the
EGC off, so make the caller pass an extra arg indicating its state as of
the time we trapped to it. Set G2_THRESHOLD global before writing image,
don't set G1_THRESHOLD twice.

Images built a few weeks ago have EGC off and misconfigured.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/ppc-exceptions.c

    r11523 r11551  
    515515      if (selector & GC_TRAP_FUNCTION_SAVE_APPLICATION) {
    516516        OSErr err;
    517         extern OSErr save_application(unsigned);
     517        extern OSErr save_application(unsigned, Boolean);
    518518        TCR *tcr = TCR_FROM_TSD(xpGPR(xp, rcontext));
    519519        area *vsarea = tcr->vs_area;
    520520       
    521521        nrs_TOPLFUNC.vcell = *((LispObj *)(vsarea->high)-1);
    522         err = save_application(arg);
     522        err = save_application(arg, egc_was_enabled);
    523523        if (err == noErr) {
    524524          _exit(0);
Note: See TracChangeset for help on using the changeset viewer.