- Timestamp:
- Nov 15, 2007, 4:25:36 PM (17 years ago)
- Location:
- branches/working-0711/ccl/lisp-kernel
- Files:
-
- 2 edited
-
ppc-exceptions.c (modified) (2 diffs)
-
x86-exceptions.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/lisp-kernel/ppc-exceptions.c
r7629 r7657 1553 1553 message = "Lisp Breakpoint"; 1554 1554 } 1555 lisp_Debugger(xp, info, debug_entry_dbg, message);1555 lisp_Debugger(xp, info, debug_entry_dbg, false, message); 1556 1556 return noErr; 1557 1557 } 1558 1558 if (the_trap == QUIET_LISP_BREAK_INSTRUCTION) { 1559 1559 adjust_exception_pc(xp,4); 1560 lisp_Debugger(xp, info, debug_entry_dbg, "Lisp Breakpoint");1560 lisp_Debugger(xp, info, debug_entry_dbg, false, "Lisp Breakpoint"); 1561 1561 return noErr; 1562 1562 } … … 1774 1774 char msg[512]; 1775 1775 snprintf(msg, sizeof(msg), "Unhandled exception %d at 0x%lx, context->regs at #x%lx", signum, xpPC(context), (natural)xpGPRvector(context)); 1776 if (lisp_Debugger(context, info, signum, msg)) {1776 if (lisp_Debugger(context, info, signum, false, msg)) { 1777 1777 SET_TCR_FLAG(tcr,TCR_FLAG_BIT_PROPAGATE_EXCEPTION); 1778 1778 } -
branches/working-0711/ccl/lisp-kernel/x86-exceptions.c
r7624 r7657 790 790 case UUO_DEBUG_TRAP: 791 791 xpPC(context) = (natural) (program_counter+1); 792 lisp_Debugger(context, info, debug_entry_dbg, "Lisp Breakpoint");792 lisp_Debugger(context, info, debug_entry_dbg, false, "Lisp Breakpoint"); 793 793 return true; 794 794 … … 799 799 800 800 get_lisp_string(xpGPR(context,Iarg_z),msg, sizeof(msg)-1); 801 lisp_Debugger(context, info, debug_entry_dbg, msg);801 lisp_Debugger(context, info, debug_entry_dbg, false, msg); 802 802 } 803 803 return true; … … 975 975 if (! handle_exception(signum, info, context, tcr, old_valence)) { 976 976 char msg[512]; 977 int foreign = (old_valence == TCR_STATE_LISP) ? 0 : debug_foreign_exception;977 Boolean foreign = (old_valence != TCR_STATE_LISP); 978 978 979 979 snprintf(msg, sizeof(msg), "Unhandled exception %d at 0x%lx, context->regs at #x%lx", signum, xpPC(context), (natural)xpGPRvector(context)); 980 980 981 if (lisp_Debugger(context, info, signum |foreign, msg)) {981 if (lisp_Debugger(context, info, signum, foreign, msg)) { 982 982 SET_TCR_FLAG(tcr,TCR_FLAG_BIT_PROPAGATE_EXCEPTION); 983 983 }
Note:
See TracChangeset
for help on using the changeset viewer.
