Module Name: src Committed By: skrll Date: Mon May 8 20:51:53 UTC 2023
Modified Files: src/sys/arch/riscv/include: proc.h Log Message: Don't expose vaddr_t or register_t to userland. The gdb configure script needs this so it can detect struct lwp correctly. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/riscv/include/proc.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/proc.h diff -u src/sys/arch/riscv/include/proc.h:1.4 src/sys/arch/riscv/include/proc.h:1.5 --- src/sys/arch/riscv/include/proc.h:1.4 Sun May 7 12:41:48 2023 +++ src/sys/arch/riscv/include/proc.h Mon May 8 20:51:53 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.4 2023/05/07 12:41:48 skrll Exp $ */ +/* $NetBSD: proc.h,v 1.5 2023/05/08 20:51:53 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -46,8 +46,8 @@ struct mdlwp { struct trapframe *md_utf; /* trapframe from userspace */ struct trapframe *md_ktf; /* trapframe from userspace */ struct faultbuf *md_onfault; /* registers to store on fault */ - register_t md_usp; /* for locore.S */ - vaddr_t md_ss_addr; /* single step address for ptrace */ + unsigned long md_usp; /* for locore.S */ + unsigned long md_ss_addr; /* single step address for ptrace */ int md_ss_instr; /* single step instruction for ptrace */ volatile int md_astpending; /* AST pending on return to userland */ #if 0