aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-sun4os4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-sun4os4.h')
-rw-r--r--gdb/xm-sun4os4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/xm-sun4os4.h b/gdb/xm-sun4os4.h
index b20a602..4a6133c 100644
--- a/gdb/xm-sun4os4.h
+++ b/gdb/xm-sun4os4.h
@@ -48,3 +48,6 @@ extern char* malloc PARAMS (());
extern char* realloc PARAMS (());
extern int free PARAMS (());
+/* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */
+
+#define PTRACE_ARG3_TYPE char*