From: jasper Date: Mon, 30 Aug 2021 08:11:12 +0000 (+0000) Subject: Remove typedef of db_addr_t; mpi converted the users of it to vaddr_t already X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=42cc995287453fe7fb6ceff91e03eacadaa32611;p=openbsd Remove typedef of db_addr_t; mpi converted the users of it to vaddr_t already back in 2019. ok mpi@ --- diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index cf11b53f440..c3e19dfb779 100644 --- a/sys/arch/alpha/include/db_machdep.h +++ b/sys/arch/alpha/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.27 2019/11/07 14:44:52 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.28 2021/08/30 08:11:12 jasper Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -37,7 +37,6 @@ struct opcode { extern struct opcode opcode[]; /* types the generic ddb module needs */ -typedef vaddr_t db_addr_t; typedef long db_expr_t; typedef struct trapframe db_regs_t; diff --git a/sys/arch/amd64/include/db_machdep.h b/sys/arch/amd64/include/db_machdep.h index 48f119a74c8..7d3561cc768 100644 --- a/sys/arch/amd64/include/db_machdep.h +++ b/sys/arch/amd64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.18 2019/11/07 14:44:52 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.19 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.2 2003/04/29 17:06:04 scw Exp $ */ /* @@ -39,7 +39,6 @@ #include #include -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; diff --git a/sys/arch/arm/include/db_machdep.h b/sys/arch/arm/include/db_machdep.h index 1ef25e05590..d9c818f7676 100644 --- a/sys/arch/arm/include/db_machdep.h +++ b/sys/arch/arm/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.12 2019/11/07 14:44:52 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.13 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.5 2001/11/22 18:00:00 thorpej Exp $ */ /* @@ -43,7 +43,6 @@ /* end of mangling */ -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef trapframe_t db_regs_t; diff --git a/sys/arch/arm64/include/db_machdep.h b/sys/arch/arm64/include/db_machdep.h index b11ac74b975..6a3e4be0b98 100644 --- a/sys/arch/arm64/include/db_machdep.h +++ b/sys/arch/arm64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.4 2019/11/07 14:44:52 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.5 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.5 2001/11/22 18:00:00 thorpej Exp $ */ /* @@ -44,7 +44,6 @@ /* end of mangling */ -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef trapframe_t db_regs_t; diff --git a/sys/arch/hppa/include/db_machdep.h b/sys/arch/hppa/include/db_machdep.h index ae0dd82ba0b..0cede97b7eb 100644 --- a/sys/arch/hppa/include/db_machdep.h +++ b/sys/arch/hppa/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.21 2019/11/07 14:44:53 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.22 2021/08/30 08:11:12 jasper Exp $ */ /* * Copyright (c) 1998-2005 Michael Shalayeff @@ -23,7 +23,6 @@ #include /* types the generic ddb module needs */ -typedef vaddr_t db_addr_t; typedef long db_expr_t; typedef struct trapframe db_regs_t; diff --git a/sys/arch/i386/include/db_machdep.h b/sys/arch/i386/include/db_machdep.h index e8fc44d86f3..0d8e917cfd8 100644 --- a/sys/arch/i386/include/db_machdep.h +++ b/sys/arch/i386/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.29 2019/11/07 14:44:53 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.30 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.9 1996/05/03 19:23:59 christos Exp $ */ /* @@ -38,7 +38,6 @@ #include #include -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; diff --git a/sys/arch/m88k/include/db_machdep.h b/sys/arch/m88k/include/db_machdep.h index c4d96efb9ad..ca99ebbc0d1 100644 --- a/sys/arch/m88k/include/db_machdep.h +++ b/sys/arch/m88k/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.19 2016/04/27 11:10:48 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.20 2021/08/30 08:11:12 jasper Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -56,7 +56,6 @@ do { \ /* Entry trap for the debugger - used for inline assembly breaks*/ #define ENTRY_ASM "tb0 0, %r0, 132" -typedef vaddr_t db_addr_t; typedef long db_expr_t; typedef struct reg db_regs_t; extern db_regs_t ddb_regs; /* register state */ diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h index e47ae63dc7c..9d8aa1b1f23 100644 --- a/sys/arch/mips64/include/db_machdep.h +++ b/sys/arch/mips64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.20 2019/11/07 14:44:53 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.21 2021/08/30 08:11:12 jasper Exp $ */ /* * Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se) @@ -39,7 +39,6 @@ typedef struct trapframe db_regs_t; extern db_regs_t ddb_regs; typedef long db_expr_t; -typedef vaddr_t db_addr_t; #define SOFTWARE_SSTEP /* Need software single step */ #define SOFTWARE_SSTEP_EMUL /* next_instr_address() emulates 100% */ diff --git a/sys/arch/powerpc/include/db_machdep.h b/sys/arch/powerpc/include/db_machdep.h index 7961a70670c..12af4ddeaea 100644 --- a/sys/arch/powerpc/include/db_machdep.h +++ b/sys/arch/powerpc/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.30 2019/03/23 05:47:23 visa Exp $*/ +/* $OpenBSD: db_machdep.h,v 1.31 2021/08/30 08:11:12 jasper Exp $*/ /* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */ /* @@ -37,7 +37,6 @@ #include #include -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; extern db_regs_t ddb_regs; /* register state */ diff --git a/sys/arch/powerpc64/include/db_machdep.h b/sys/arch/powerpc64/include/db_machdep.h index 11fe2ae4abb..b4a49e3d428 100644 --- a/sys/arch/powerpc64/include/db_machdep.h +++ b/sys/arch/powerpc64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.5 2020/07/22 20:41:26 kettenis Exp $*/ +/* $OpenBSD: db_machdep.h,v 1.6 2021/08/30 08:11:12 jasper Exp $*/ /* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */ /* @@ -38,7 +38,6 @@ #include #include -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; extern db_regs_t ddb_regs; /* register state */ diff --git a/sys/arch/riscv64/include/db_machdep.h b/sys/arch/riscv64/include/db_machdep.h index 426d5ea2724..de1667f727d 100644 --- a/sys/arch/riscv64/include/db_machdep.h +++ b/sys/arch/riscv64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.4 2021/07/11 12:21:52 jasper Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.5 2021/08/30 08:11:12 jasper Exp $ */ /* * Copyright (c) 2019 Brian Bamsch @@ -49,7 +49,6 @@ #define T_BREAKPOINT (EXCP_BREAKPOINT) #define T_WATCHPOINT (0) -typedef vaddr_t db_addr_t; typedef long db_expr_t; typedef trapframe_t db_regs_t; diff --git a/sys/arch/sh/include/db_machdep.h b/sys/arch/sh/include/db_machdep.h index 65726340a67..d3d25881621 100644 --- a/sys/arch/sh/include/db_machdep.h +++ b/sys/arch/sh/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.10 2019/11/07 16:08:07 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.11 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.12 2006/05/10 06:24:03 skrll Exp $ */ /* @@ -38,7 +38,6 @@ #include #include -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; diff --git a/sys/arch/sparc64/include/db_machdep.h b/sys/arch/sparc64/include/db_machdep.h index d467dc14460..54074baa4ec 100644 --- a/sys/arch/sparc64/include/db_machdep.h +++ b/sys/arch/sparc64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.21 2019/11/07 14:44:53 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.22 2021/08/30 08:11:12 jasper Exp $ */ /* $NetBSD: db_machdep.h,v 1.12 2001/07/07 15:16:13 eeh Exp $ */ /* @@ -43,7 +43,6 @@ /* end of mangling */ -typedef vaddr_t db_addr_t; /* address - unsigned */ typedef long db_expr_t; /* expression - signed */ struct trapstate {