Fix some warnings on ARM build.
* defs.h: include <sys/ptrace.h> on arm too.
* syscall.c: EABI arm does not need decode_subcall(), ifdef it out.
+2008-12-30 Kirill A. Shutemov <kirill@shutemov.name>
+
+ Fix some warnings on ARM build.
+ * defs.h: include <sys/ptrace.h> on arm too.
+ * syscall.c: EABI arm does not need decode_subcall(),
+ ifdef it out.
+
2008-12-29 Nick Black <dankamongmen@acm.org>
* linux/syscallent.h: Mark sendfile(2) as network syscall.
# define LINUX_MIPSN64
# define LINUX_MIPS64
# endif
+# if defined(ARM)
+# define LINUX_ARM
+# endif
#endif
#if defined(SVR4) || defined(FREEBSD)
#include <sys/pioctl.h>
#endif /* FREEBSD */
#else /* !USE_PROCFS */
-#if (defined(LINUXSPARC) || defined (LINUX_X86_64)) && defined(__GLIBC__)
+#if (defined(LINUXSPARC) || defined(LINUX_X86_64) || defined(LINUX_ARM)) && defined(__GLIBC__)
#include <sys/ptrace.h>
#else
/* Work around awkward prototype in ptrace.h. */
};
#endif /* FREEBSD */
-#if !(defined(LINUX) && ( defined(ALPHA) || defined(MIPS) ))
+#if !(defined(LINUX) && ( defined(ALPHA) || defined(MIPS) || defined(__ARM_EABI__) ))
static void
decode_subcall(tcp, subcall, nsubcalls, style)