From 10827d6057c3dc9773d5572b8d3b45c9697ab640 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 14 Jul 2019 05:08:27 +0000 Subject: 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) --- sys/arch/amd64/include/reg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/amd64/include') 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; -- cgit v1.2.3