diff options
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/linux-ptrace.c | 2 | ||||
-rw-r--r-- | gdb/nat/linux-ptrace.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index 2244d9d..aba3da8 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -337,7 +337,7 @@ static void linux_test_for_exitkill (int child_pid); /* Determine ptrace features available on this target. */ -static void +void linux_check_ptrace_features (void) { int child_pid, ret, status; diff --git a/gdb/nat/linux-ptrace.h b/gdb/nat/linux-ptrace.h index 8354a4d..03d98c9 100644 --- a/gdb/nat/linux-ptrace.h +++ b/gdb/nat/linux-ptrace.h @@ -149,6 +149,7 @@ extern void linux_ptrace_attach_fail_reason (pid_t pid, struct buffer *buffer); extern char *linux_ptrace_attach_fail_reason_string (ptid_t ptid, int err); extern void linux_ptrace_init_warnings (void); +extern void linux_check_ptrace_features (void); extern void linux_enable_event_reporting (pid_t pid, int attached); extern void linux_disable_event_reporting (pid_t pid); extern int linux_supports_tracefork (void); |