Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrong unmarshaling of function pointers in debugger mode
In debugger mode, closures sent by the debuggee have their code pointer modified so that it points to the `function_placeholder` code in debugger/main.ml. This modification was performed incorrectly: the whole closure for `function_placeholder` was used as the code pointer for the unmarshalled closure. This commit implements the correct operation: the code pointer from `function_placeholder` is used as code pointer for the unmarshaled closure. Fixes: ocaml#9214
- Loading branch information