diff options
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/linux-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index b80c7b8..e259f65 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -70,7 +70,7 @@ linux_ptrace_attach_fail_reason_string (ptid_t ptid, int err) #if defined __i386__ || defined __x86_64__ /* Address of the 'ret' instruction in asm code block below. */ -EXTERN_C void linux_ptrace_test_ret_to_nx_instr (void); +extern "C" void linux_ptrace_test_ret_to_nx_instr (void); #include <sys/reg.h> #include <sys/mman.h> |