aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/linux-ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/linux-ptrace.h')
-rw-r--r--gdb/common/linux-ptrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/common/linux-ptrace.h b/gdb/common/linux-ptrace.h
index 96ac3fb..6315b13 100644
--- a/gdb/common/linux-ptrace.h
+++ b/gdb/common/linux-ptrace.h
@@ -18,6 +18,8 @@
#ifndef COMMON_LINUX_PTRACE_H
#define COMMON_LINUX_PTRACE_H
+struct buffer;
+
#include <sys/ptrace.h>
#ifndef PTRACE_GETSIGINFO
@@ -65,4 +67,6 @@
#define __WALL 0x40000000 /* Wait for any child. */
#endif
+extern void linux_ptrace_attach_warnings (pid_t pid, struct buffer *buffer);
+
#endif /* COMMON_LINUX_PTRACE_H */