Changeset 11034


Ignore:
Timestamp:
Oct 10, 2008, 6:30:23 AM (11 years ago)
Author:
gb
Message:

Don't use find_foreign_rsp() in
prepare_to_handle_windows_exception_on_foreign_stack().

In windows_arbstack_exception_handler: if we're on the foreign stack
when an exception occurs, try to print the registers before entering
the kernel debugger.

File:
1 edited

Legend:

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

    r11015 r11034  
    18201820{
    18211821  LispObj foreign_rsp =
    1822     (LispObj) find_foreign_rsp(xpGPR(context,Isp), tcr->cs_area, tcr);
     1822    (LispObj) (tcr->foreign_sp - 128) & ~15;
    18231823  CONTEXT *new_context;
    18241824  siginfo_t *new_info;
     
    18581858    if ((current_sp >= cs->low) &&
    18591859        (current_sp < cs->high)) {
     1860      debug_show_registers(context, exception_pointers->ExceptionRecord, 0);
    18601861      FBug(context, "Exception on foreign stack\n");
    18611862    }
Note: See TracChangeset for help on using the changeset viewer.