From 7922f60fb7f4992f26ef2226ffa27efbdb5617a2 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 31 Oct 2006 20:49:06 +0000 Subject: [PATCH] update usertrace git-svn-id: http://ltt.polymtl.ca/svn@2223 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-usertrace/ltt/ltt-usertrace.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ltt-usertrace/ltt/ltt-usertrace.h b/ltt-usertrace/ltt/ltt-usertrace.h index 7ee2d4b9..57db86ce 100644 --- a/ltt-usertrace/ltt/ltt-usertrace.h +++ b/ltt-usertrace/ltt/ltt-usertrace.h @@ -37,6 +37,8 @@ extern "C" { #include #elif defined(__i386__) #include +#elif defined(__arm__) +#include #else #error "Unsupported architecture" #endif @@ -73,9 +75,13 @@ extern "C" { #define NR_syscalls 303 #endif +#ifdef __arm__ +#define __NR_ltt_trace_generic 322 +#define __NR_ltt_register_generic 323 +#undef NR_syscalls +#define NR_syscalls 324 +#endif - -//FIXME : setup for ARM //FIXME : setup for MIPS #ifndef _LIBC -- 2.34.1