Module Name:    src
Committed By:   skrll
Date:           Fri Nov 22 08:37:34 UTC 2024

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

Log Message:
G/C


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/sys/arch/riscv/include/db_machdep.h:1.11
--- src/sys/arch/riscv/include/db_machdep.h:1.10	Tue Nov 19 18:11:52 2024
+++ src/sys/arch/riscv/include/db_machdep.h	Fri Nov 22 08:37:34 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.10 2024/11/19 18:11:52 skrll Exp $ */
+/* $NetBSD: db_machdep.h,v 1.11 2024/11/22 08:37:34 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -92,13 +92,6 @@ db_addr_t	db_disasm_insn(uint32_t, db_ad
 void 	kdb_kbd_trap(db_regs_t *);
 int 	kdb_trap(int, db_regs_t *);
 
-static inline void
-db_set_ddb_regs(int type, struct trapframe *tf)
-{
-	*curcpu()->ci_ddb_regs = *tf;
-}
-
-
 /*
  * Constants for KGDB.
  */

Reply via email to