[Ltrace-devel] [ltrace 19/21] arm/trace.c: syscall_p fix return value if unexpected instruction
Arnaud Patard
apatard at mandriva.com
Fri Jan 8 13:40:18 UTC 2010
In the case of unexpected instruction, syscall_p was returning -1 which
means errors. Unfornatunately, one may get there for valid reasons (bug
triggered by attach_process test case). Better return 0 (not a syscall)
Signed-off-by: Arnaud Patard <apatard at mandriva.com>
---
sysdeps/linux-gnu/arm/trace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: be5ac864de498ca8cbd6a485c9131c7270dd9a8c.diff
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20100108/8a774eac/attachment-0001.bin>
More information about the Ltrace-devel
mailing list