1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Fix compilation problem (both -CURRENT and -STABLE), due to PT_READ_U

removal from sys/ptrace.h. Also, fix the incorrect PT_READ_U label.

PR:		30878
Submitted by:	Maxime Henrion <mux@qualys.com>
This commit is contained in:
Jimmy Olgeni 2001-10-11 10:47:35 +00:00
parent 2e52b875af
commit ced6dcdf02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48664

View File

@ -0,0 +1,13 @@
--- process.c.old Thu Sep 27 22:08:22 2001
+++ process.c Thu Sep 27 22:08:57 2001
@@ -1771,7 +1771,9 @@
{ PT_READ_D, "PT_READ_D" },
{ PT_WRITE_I, "PT_WRITE_I" },
{ PT_WRITE_D, "PT_WRITE_D" },
- { PT_READ_U, "PT_WRITE_U" },
+#ifdef PT_READ_U
+ { PT_READ_U, "PT_READ_U" },
+#endif
{ PT_CONTINUE, "PT_CONTINUE" },
{ PT_KILL, "PT_KILL" },
{ PT_STEP, "PT_STEP" },