Changeset 7921


Ignore:
Timestamp:
Dec 19, 2007, 1:42:15 AM (12 years ago)
Author:
gb
Message:

Learn to read disassembled code; look for _sigtramp context in r8 on
all Darwin versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/lisp-debug.c

    r7909 r7921  
    876876
    877877    if (xpPC(xp) == (natural)_sigtramp) {
    878       xp = (ExceptionInformation *) xpGPR(xp,os_major_version < 9 ? REG_RSI :REG_RCX);
     878      xp = (ExceptionInformation *) xpGPR(xp, REG_R8);
    879879      fprintf(stderr, "Exception raised at _sigtramp; using context passed to _sigtramp.  Raw register values (R) may be more interesting then lisp values or lisp backtrace\n");
    880880    }
Note: See TracChangeset for help on using the changeset viewer.