]> git.pld-linux.org Git - packages/ddd.git/blame - ddd-ptrace.patch
- updated to 3.4.0
[packages/ddd.git] / ddd-ptrace.patch
CommitLineData
651f76c8 1--- ddd-3.1.5/ddd/options.C.tim Thu Aug 19 16:37:31 1999
2+++ ddd-3.1.5/ddd/options.C Thu Aug 19 16:39:14 1999
3@@ -92,7 +92,27 @@
4 #if HAVE_PTRACE
5 extern "C" {
6 #if HAVE_SYS_PTRACE_H
7+
8+#if defined(__sparc__)
9+#undef PTRACE_GETREGS /* XXX noise from <sys/ptrace.h> */
10+#undef PTRACE_SETREGS
11+#undef PTRACE_GETFPREGS
12+#undef PTRACE_SETFPREGS
13+#undef PT_ATTACH
14+#undef PT_DETACH
15+#endif /* __sparc__ */
16+
17+
18+
19 #include <sys/ptrace.h>
20+
21+#if defined(__sparc__)
22+#undef PT_ATTACH
23+#undef PT_DETACH
24+#define PT_ATTACH PTRACE_SUNATTACH /* XXX reestablish "nm.h" vals */
25+#define PT_DETACH PTRACE_SUNDETACH
26+#endif /* __sparc__ */
27+
28 #endif
29 #if !HAVE_PTRACE_DECL
30 extern int ptrace(int request, int pid, int addr, int data);
This page took 0.047871 seconds and 4 git commands to generate.