分类: LINUX
2008-03-10 15:36:27
如果strace是arm版本,那么将会出现下面的错误
syscall: unknown syscall trap 0xe1a00000
给syscall.c文件打上相应的补丁就可以了。
/*
* Note: we only deal with only 32-bit CPUs here.
*/
+
+ i!(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) {