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

Debug prints in sigill handler.

parent 2dd8905d
Branches
Tags
No related merge requests found
......@@ -83,6 +83,9 @@ arch_do_displaced_inst(os_context_t *scp, unsigned long orig_inst)
static void
sigill_handler(HANDLER_ARGS)
{
fprintf(stderr, "sigill: signal = %d, code = %p, context = %p\n",
signal, code, context);
os_context_t *os_context = context;
if (CODE(code) == ILL_ILLOPC) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment