Skip to content
Snippets Groups Projects
Commit 21dd39ea authored by Raymond Toy's avatar Raymond Toy
Browse files

Use INT3 for breakpoints instead of UD2

Since lisp doesn't use INT3 anymore, we know that any INT3 instruction
is a breakpoint.  Hence, we also don't need to append the breakpoint
trap code.

Also need to update function_end_breakpoint_trap to use UD2 instead of
INT3.  This is needed because we need the trap code to tell lisp this
is a function end breakpoint.

Tested this by adding a start breakpoint for kernel:%sqrt.  Breakpoint
is hit and you can continue.   Also tested a function end breakpoint.
When the breakpoint is hit, we correctly see the return value(s), and
can continue fine.
parent 8817798f
No related branches found
No related tags found
Loading
Checking pipeline status
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