aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4os4.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 04:23:29 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 04:23:29 +0000
commit826000345c004578cedf2e4bcd5cf6f0e84185bf (patch)
treef3e066b518600114190217f4be9ac4b91bf12d77 /gdb/config/sparc/nm-sun4os4.h
parent1636f0bbebdb8486aee30722a9f9a2d15aa9716e (diff)
downloadgdb-826000345c004578cedf2e4bcd5cf6f0e84185bf.zip
gdb-826000345c004578cedf2e4bcd5cf6f0e84185bf.tar.gz
gdb-826000345c004578cedf2e4bcd5cf6f0e84185bf.tar.bz2
Eliminate MALLOC_INCOMPATIBLE.
Diffstat (limited to 'gdb/config/sparc/nm-sun4os4.h')
-rw-r--r--gdb/config/sparc/nm-sun4os4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-sun4os4.h b/gdb/config/sparc/nm-sun4os4.h
index 914fb1e..d874d58 100644
--- a/gdb/config/sparc/nm-sun4os4.h
+++ b/gdb/config/sparc/nm-sun4os4.h
@@ -36,3 +36,7 @@
#define KERNEL_U_SIZE kernel_u_size()
extern int kernel_u_size (void);
+
+/* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */
+
+#define PTRACE_ARG3_TYPE char*