git: 9front

Download patch

ref: eefa37153ed374f925ad701a40eb8f8629252496
parent: d9e105d98c2ea8fe903fbcd7476ae80d857c7970
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 29 11:49:25 EST 2025

zynq: postnote "sys: breakpoint" on debug exception

--- a/sys/src/9/zynq/trap.c
+++ b/sys/src/9/zynq/trap.c
@@ -82,6 +82,9 @@
 
 	read = (fsr & (1<<11)) == 0;
 	switch(fsr & 0x1F){
+	case 0x02:
+		postnote(up, 1, "sys: breakpoint", NDebug);
+		break;
 	case 0x05:	/* translation fault L1 */
 	case 0x07:	/* translation fault L2 */
 	case 0x03:	/* access flag fault L1 */
--