From: balrog Date: Tue, 28 Oct 2008 10:39:39 +0000 (+0000) Subject: Fix return value printing for shmat (Lauro Ramos Venancio). X-Git-Tag: TizenStudio_2.0_p2.3~10661 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=085728e243cbd35b809656f8309134a2fd97a8f4;p=sdk%2Femulator%2Fqemu.git Fix return value printing for shmat (Lauro Ramos Venancio). The shmat syscall returns an address, so we must use the print_syscall_ret_addr function. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5565 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/linux-user/strace.list b/linux-user/strace.list index 868a725..09a801f 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1250,7 +1250,7 @@ { TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL }, #endif #ifdef TARGET_NR_shmat -{ TARGET_NR_shmat, "shmat" , NULL, NULL, NULL }, +{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr }, #endif #ifdef TARGET_NR_shmctl { TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },