Changeset 10246


Ignore:
Timestamp:
Jul 30, 2008, 3:07:26 AM (11 years ago)
Author:
gb
Message:

In callback_for_interrupt(), need to initialize save_rbp/save_ebp
before calling create_exception_callback_frame(), which modifies
rbp/ebp.

File:
1 edited

Legend:

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

    r10196 r10246  
    563563  LispObj *save_vsp = (LispObj *)xpGPR(xp,Isp),
    564564    word_beyond_vsp = save_vsp[-1],
     565#ifdef X8664
     566    save_rbp = xpGPR(xp,Irbp),
     567#else
     568    save_ebp = xpGPR(xp,Iebp),
     569#endif
    565570    xcf = create_exception_callback_frame(xp, tcr);
    566571  int save_errno = errno;
    567 #ifdef X8664
    568   LispObj save_rbp = xpGPR(xp,Irbp);
    569 #else
    570   LispObj save_ebp = xpGPR(xp,Iebp);
    571 #endif
    572572
    573573  callback_to_lisp(tcr, nrs_CMAIN.vcell,xp, xcf, 0, 0, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.