diff options
author | Chris Zankel <chris@zankel.net> | 2013-03-25 10:22:07 -0700 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-03-25 17:58:57 +0000 |
commit | 8f636ed12870cdc8e4b38194eb4b701f42ad222b (patch) | |
tree | 69b61b6992e62d9b4e2dd7d50ff51144c85947d0 /util.c | |
parent | 6e5f5b3adbb22301942804a2a08af5048e7a9bca (diff) | |
download | strace-8f636ed12870cdc8e4b38194eb4b701f42ad222b.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |