summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2013-03-25 10:22:07 -0700
committerDmitry V. Levin <ldv@altlinux.org>2013-03-25 17:58:57 +0000
commit8f636ed12870cdc8e4b38194eb4b701f42ad222b (patch)
tree69b61b6992e62d9b4e2dd7d50ff51144c85947d0 /util.c
parent6e5f5b3adbb22301942804a2a08af5048e7a9bca (diff)
downloadstrace-8f636ed12870cdc8e4b38194eb4b701f42ad222b.tar.gz
strace-8f636ed12870cdc8e4b38194eb4b701f42ad222b.tar.bz2
strace-8f636ed12870cdc8e4b38194eb4b701f42ad222b.tar.xz
Add support for the XTENSA architecture
* configure.ac: Add XTENSA to the list of supported architectures. * defs.h: Add XTENSA support. * linux/xtensa/syscallent.h: New file. * linux/xtensa/ioctlent.h.in: Likewise. * process.c (struct_user_offsets): Add XTENSA support. * signal.c (sys_sigreturn): Likewise. * syscall.c (printcall, get_scno, get_syscall_args, get_syscall_result, get_error): Likewise. * util.c (change_syscall): Likewise. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.c b/util.c
index 84ab00e..fa552cc 100644
--- a/util.c
+++ b/util.c
@@ -1401,6 +1401,9 @@ change_syscall(struct tcb *tcp, arg_setup_state *state, int new)
#elif defined(METAG)
/* setbpt/clearbpt never used: */
/* Meta is only supported since linux-3.7 */
+#elif defined(XTENSA)
+ /* setbpt/clearbpt never used: */
+ /* Xtensa is only supported since linux 2.6.13 */
#else
#warning Do not know how to handle change_syscall for this architecture
#endif /* architecture */