Module Name:    src
Committed By:   skrll
Date:           Sat Sep  2 09:27:09 UTC 2023

Modified Files:
        src/sys/arch/riscv/include: db_machdep.h

Log Message:
Fix a comment and enable RISC-V ddb mach commands


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/riscv/include/db_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/include/db_machdep.h
diff -u src/sys/arch/riscv/include/db_machdep.h:1.8 src/sys/arch/riscv/include/db_machdep.h:1.9
--- src/sys/arch/riscv/include/db_machdep.h:1.8	Mon Jun 12 19:04:14 2023
+++ src/sys/arch/riscv/include/db_machdep.h	Sat Sep  2 09:27:09 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.8 2023/06/12 19:04:14 skrll Exp $ */
+/* $NetBSD: db_machdep.h,v 1.9 2023/09/02 09:27:09 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -107,7 +107,7 @@ typedef	register_t	kgdb_reg_t;
 #define	KGDB_BUFLEN	1024
 
 /*
- * RISCV cpus have no hardware single-step.
+ * RISC-V harts have no hardware single-step.
  */
 #define	SOFTWARE_SSTEP
 
@@ -126,12 +126,10 @@ bool ddb_running_on_this_cpu_p(void);
 bool ddb_running_on_any_cpu_p(void);
 void db_resume_others(void);
 
-#if 0
 /*
  * We have machine-dependent commands.
  */
 #define	DB_MACHINE_COMMANDS
-#endif
 
 void dump_trapframe(const struct trapframe *, void (*)(const char *, ...) __printflike(1, 2));
 

Reply via email to