From 69010fe049d22ef088dd26054e04aee6ed14350f Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Thu, 1 Oct 2015 19:50:58 +0000 Subject: [PATCH] Attempt to print RIP for invalid opcode trap. --- platform/hw/arch/amd64/intr.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/hw/arch/amd64/intr.S b/platform/hw/arch/amd64/intr.S index a41cd22..a4c400e 100644 --- a/platform/hw/arch/amd64/intr.S +++ b/platform/hw/arch/amd64/intr.S @@ -49,7 +49,6 @@ SYSTRAP(2, "#NMI") SYSTRAP(3, "#BP") SYSTRAP(4, "#OF") SYSTRAP(5, "#BR") -SYSTRAP(6, "#UD") SYSTRAP(7, "#NM") SYSTRAP(8, "#DF") SYSTRAP(10, "#TS") @@ -79,6 +78,7 @@ ENTRY(x86_trap_##num) \ END(x86_trap_##num) FATTRAP(0, "divide-by-zero") +FATTRAP(6, "invalid opcode") FATTRAP(14, "page fault") /* -- 2.39.5