From e56f10460ca73d42a0e0283df19c8b54d74a4599 Mon Sep 17 00:00:00 2001 From: David Xu Date: Wed, 16 Mar 2005 14:30:31 +0000 Subject: [PATCH] Add types prgregset_t and psaddr_t which will be used by thread debugging code. --- sys/sys/procfs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/sys/procfs.h b/sys/sys/procfs.h index c94700366f..bd027f444c 100644 --- a/sys/sys/procfs.h +++ b/sys/sys/procfs.h @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/sys/procfs.h,v 1.2 1999/08/28 00:51:56 peter Exp $ - * $DragonFly: src/sys/sys/procfs.h,v 1.2 2003/06/17 04:28:58 dillon Exp $ + * $DragonFly: src/sys/sys/procfs.h,v 1.3 2005/03/16 14:30:31 davidxu Exp $ */ #ifndef _SYS_PROCFS_H_ @@ -66,6 +66,7 @@ typedef struct prstatus { gregset_t pr_reg; /* General purpose registers (1) */ } prstatus_t; +typedef gregset_t prgregset_t[1]; typedef fpregset_t prfpregset_t; #define PRARGSZ 80 /* Maximum argument bytes saved */ @@ -79,4 +80,6 @@ typedef struct prpsinfo { char pr_psargs[PRARGSZ+1]; /* Arguments, null terminated (1) */ } prpsinfo_t; +typedef void *psaddr_t; /* An address in the target process. */ + #endif /* _SYS_PROCFS_H_ */ -- 2.41.0