Fix crash when exiting TUI with gdb -tui
[deliverable/binutils-gdb.git] / gdb / sparc-nat.c
index fadcfd344740013494abc64deed314ef8bebcf64..8d5bf350bdbb30a8ee03a423067f2f84678c5b32 100644 (file)
@@ -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__
This page took 0.026276 seconds and 4 git commands to generate.