X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fsparc-nat.c;h=8d5bf350bdbb30a8ee03a423067f2f84678c5b32;hb=a350efd4fb368a35ada608f6bc26ccd3bed0ae6b;hp=fadcfd344740013494abc64deed314ef8bebcf64;hpb=2108a63a5a736c2329a2a92ca58e0b9993dc5d42;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index fadcfd3447..8d5bf350bd 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -78,7 +78,7 @@ typedef struct fp_status fpregset_t; #define PTRACE_SETFPREGS PT_SETFPREGS #endif -static int +static PTRACE_TYPE_RET gdb_ptrace (PTRACE_TYPE_ARG1 request, ptid_t ptid, PTRACE_TYPE_ARG3 addr) { #ifdef __NetBSD__