summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2019-07-14 05:08:27 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2019-07-14 05:08:27 +0000
commit10827d6057c3dc9773d5572b8d3b45c9697ab640 (patch)
treeec35f45f95fb9d83f35454e93a3cda03477c841f /sys/arch/amd64/include
parent79fb9e66b3bc83287fef6ae68c97d779b103fccb (diff)
Delete obsolete bits in a comment: mcontext is gone and struct reg is no
longer required to be layout compatible with struct trapframe noted by Benjamin Baier (programmer (at) netzbasis.de)
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/reg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/reg.h b/sys/arch/amd64/include/reg.h
index ee50e0bfdc9..dfb68c45bc5 100644
--- a/sys/arch/amd64/include/reg.h
+++ b/sys/arch/amd64/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.6 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: reg.h,v 1.7 2019/07/14 05:08:26 guenther Exp $ */
/* $NetBSD: reg.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
/*-
@@ -75,8 +75,6 @@
/*
* Registers accessible to ptrace(2) syscall for debugger use.
- * Same as mcontext.__gregs and struct trapframe, they must
- * remain synced (XXX should use common structure).
*/
struct reg {
int64_t r_rdi;