shithub: riscv

Download patch

ref: 5df1214b19e2a69d3aff7a5924c422ff2c0dfa1c
parent: 1145d79a11e8bf6852d8ee786bcad1f2a9ab2ad7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jul 17 16:21:10 EDT 2023

bcm64, imx8: fix breakpoint note strings

Use the conventional note strings for breakpoint
and watchpint exceptions.

--- a/sys/src/9/bcm64/trap.c
+++ b/sys/src/9/bcm64/trap.c
@@ -88,10 +88,10 @@
 	[0x18]	"sys: trap: illegal MSR/MRS access",
 	[0x22]	"sys: trap: misaligned pc",
 	[0x26]	"sys: trap: stack pointer misaligned",
-	[0x30]	"sys: trap: breakpoint",
-	[0x32]	"sys: trap: software step",
-	[0x34]	"sys: trap: watchpoint",
-	[0x3C]	"sys: trap: BRK instruction",
+	[0x30]	"sys: breakpoint",
+	[0x32]	"sys: software step",
+	[0x34]	"sys: watchpoint",
+	[0x3C]	"sys: breakpoint",
 };
 
 void
--- a/sys/src/9/imx8/trap.c
+++ b/sys/src/9/imx8/trap.c
@@ -88,10 +88,10 @@
 	[0x18]	"sys: trap: illegal MSR/MRS access",
 	[0x22]	"sys: trap: misaligned pc",
 	[0x26]	"sys: trap: stack pointer misaligned",
-	[0x30]	"sys: trap: breakpoint",
-	[0x32]	"sys: trap: software step",
-	[0x34]	"sys: trap: watchpoint",
-	[0x3C]	"sys: trap: BRK instruction",
+	[0x30]	"sys: breakpoint",
+	[0x32]	"sys: software step",
+	[0x34]	"sys: watchpoint",
+	[0x3C]	"sys: breakpoint",
 };
 
 void