Page MenuHomeFreeBSD

D28942.1795289498.diff
No OneTemporary

Authored By
Unknown
Size
640 B
Referenced Files
None
Subscribers
None

D28942.1795289498.diff

diff --git a/sys/arm64/include/db_machdep.h b/sys/arm64/include/db_machdep.h
--- a/sys/arm64/include/db_machdep.h
+++ b/sys/arm64/include/db_machdep.h
@@ -38,6 +38,7 @@
#include <machine/trap.h>
#define T_BREAKPOINT (EXCP_BRK)
+#define T_SINGLESTEP (EXCP_SOFTSTP_EL1)
#define T_WATCHPOINT (EXCP_WATCHPT_EL1)
typedef vm_offset_t db_addr_t;
@@ -58,6 +59,7 @@
#define db_set_single_step kdb_cpu_set_singlestep
#define IS_BREAKPOINT_TRAP(type, code) (type == T_BREAKPOINT)
+#define IS_SSTEP_TRAP(type, code) (type == T_SINGLESTEP)
#define IS_WATCHPOINT_TRAP(type, code) (type == T_WATCHPOINT)
#define inst_trap_return(ins) (0)

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 21, 7:31 PM (5 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41894532
Default Alt Text
D28942.1795289498.diff (640 B)

Event Timeline