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/09a44d7205d9
branches:  trunk
changeset: 961027:09a44d7205d9
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 606b0a7b7df8 -r 09a44d7205d9 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