try the following or update your strace: --- strace-4.5.12-orig/syscall.c 2005-06-08 21:45:28.000000000 +0100 +++ strace-4.5.12/syscall.c 2005-10-25 19:26:39.000000000 +0100 @@ -1013,6 +1013,15 @@ struct tcb *tcp; /* * Note: we only deal with only 32-bit CPUs here. */ + + if (!(tcp->flags & TCB_INSYSCALL) && + (tcp->flags & TCB_WAITEXECVE)) { + /* caught a fake syscall from the execve's exit */ + tcp->flags &= ~TCB_WAITEXECVE; + return 0; + } + + if (regs.ARM_cpsr & 0x20) { /* * Get the Thumb-mode system call number strace's compile script: #!/bin/sh export CROSS_PATH=/usr/local/arm/arm-linux-4.1.1/arm-iwmmxt-linux-gnueabi ./configure --target=arm-linux --host=arm-linux --build=i386-linux-gnu --prefix=/usr/local/dtv CFLAGS=-I$CROSS_PATH/include/ LDFLAGS=-L$CROSS_PATH/lib/ make make install ------------------ Xu Xu frankxu0217 at yahoo/com/cn ++++++++++++++++++++++++++++++++ Yesterday is history,Tomorrow is a Mystery, and Today is a Gift. And that's why we call it---the PrEsEnT. 2008-02-28 ------------------------------------------------------------- 发件人:Erdem Oguz 发送日期:2008-02-27 17:37:47 收件人:linux-arm@xxxxxxxxxxxxxxxxxxxxxx 抄送: 主题:strace Hi all, we are working on arm9 processor, we cross compiled strace. When run the strace, it gives this error. syscall: unknown syscall trap 0xe1a00000 Do you any idea for this situation? thanks all. -- _________________________ H?eyin Erdem Oguz herdemo@xxxxxxxxx if you aren't part a solution, you are part a problem. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
- References:
- strace
- From: Erdem Oguz
- strace
- Prev by Date: Re: PXAFB command line for standard VGA monitor
- Next by Date: the reboot information shows twice
- Previous by thread: strace
- Next by thread: How to use it on AT91Rm9200
- Index(es):