NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52805: typo in src/sys/sys/ptrace.h

>Number:         52805
>Category:       kern
>Synopsis:       typo in /usr/src/sys/sys/ptrace.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 10 08:05:00 +0000 2017
>Originator:     Onno van der Linden
>Release:        NetBSD 8.99.8
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD sheep 8.99.8 NetBSD 8.99.8 (SHEEPKMS) #1: Mon Dec 4 16:43:49 CET 2017 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEPKMS i386
Architecture: i386
Machine: i386
There seems to be a typo in the forward declaration of a struct in
compare the blocks for PT_{GET,SET}REGS and PT_{GET,SET}FPREGS
to PT_{GET,SET}DBREGS and spot the difference
--- /usr/src/sys/sys/ptrace.h   2017-03-25 08:48:49.355816361 +0100
+++ /usr/src/sys/sys/       2017-12-10 08:52:26.526268222 +0100
@@ -176,7 +176,7 @@
 #if defined(PT_GETDBREGS) || defined(PT_SETDBREGS)
-struct fpreg;
+struct dbreg;
 #ifndef process_dbreg32
 #define process_dbreg32 struct dbreg

 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>

Home | Main Index | Thread Index | Old Index