Skip to content
Snippets Groups Projects
Commit 935f69d9 authored by rtoy's avatar rtoy
Browse files

Change how we handle function end breakpoints for non-x86. We don't

disable GC before calling HANDLE-BREAKPOINT.  We save the real LRA
object to the Lisp stack, before calling HANDLE-BREAKPOINT.
Afterwards, we load the LRA from the stack.  Thus, if GC happened, the
stack value will have changed appropriately, and we return to the
correct place.

compiler/ppc/parms.lisp:
compiler/sparc/parms.lisp:
o Don't need lisp::*gc-inhibit* to be a static symbol anymore so
  remove it.

lisp/breakpoint.c:
o Implement above idea in handle_function_end_breakpoint.
o Add comments on the values of REAL_LRA_SLOT and friends.
o Clean up compute_offsets for the x86 case which doesn't handle ppc
  or sparc anymore.
parent b47aa381
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment