Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc The location arg of db_disasm() is a db...



details:   https://anonhg.NetBSD.org/src/rev/fca12cba70a9
branches:  trunk
changeset: 954369:fca12cba70a9
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 06 16:10:08 2021 +0000

description:
The location arg of db_disasm() is a db_addr_t, not a vaddr_t.

diffstat:

 sys/arch/sparc/sparc/db_disasm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r add00b56c167 -r fca12cba70a9 sys/arch/sparc/sparc/db_disasm.c
--- a/sys/arch/sparc/sparc/db_disasm.c  Tue Apr 06 16:05:17 2021 +0000
+++ b/sys/arch/sparc/sparc/db_disasm.c  Tue Apr 06 16:10:08 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.22 2017/01/11 12:14:32 joerg Exp $ */
+/*     $NetBSD: db_disasm.c,v 1.23 2021/04/06 16:10:08 simonb Exp $ */
 
 /*
  * Copyright (c) 1994 David S. Miller, davem%nadzieja.rutgers.edu@localhost
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.22 2017/01/11 12:14:32 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.23 2021/04/06 16:10:08 simonb Exp $");
 
 #include <sys/param.h>
 #include <machine/db_machdep.h>
@@ -876,7 +876,7 @@
 };
 
 db_addr_t
-db_disasm(vaddr_t loc, bool altfmt)
+db_disasm(db_addr_t loc, bool altfmt)
 {
        struct sparc_insn*      i_ptr = (struct sparc_insn *)&sparc_i;
 



Home | Main Index | Thread Index | Old Index