From c2d3d08a7aa84767c95f9e96f495d637dcd94ba4 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Mon, 20 May 2002 16:00:07 +0000 Subject: [PATCH] - sigsegv.cpp (ix86_skip_instruction): Fix DEBUG compilation. --- BasiliskII/src/Unix/sigsegv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/Unix/sigsegv.cpp b/BasiliskII/src/Unix/sigsegv.cpp index ffccc927..1591692a 100644 --- a/BasiliskII/src/Unix/sigsegv.cpp +++ b/BasiliskII/src/Unix/sigsegv.cpp @@ -513,7 +513,7 @@ static bool ix86_skip_instruction(unsigned int * regs) } #if DEBUG - printf("%08x: %s %s access", fault_instruction, + printf("%08x: %s %s access", regs[X86_REG_EIP], transfer_size == SIZE_BYTE ? "byte" : transfer_size == SIZE_WORD ? "word" : "long", transfer_type == TYPE_LOAD ? "read" : "write");