qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5565] Fix return value printing for shmat (Lauro Ramos Venancio).
@ 2008-10-28 10:39 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-10-28 10:39 UTC (permalink / raw)
  To: qemu-devel

Revision: 5565
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5565
Author:   balrog
Date:     2008-10-28 10:39:39 +0000 (Tue, 28 Oct 2008)

Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/linux-user/strace.list

Modified: trunk/linux-user/strace.list
===================================================================
--- trunk/linux-user/strace.list	2008-10-28 10:26:29 UTC (rev 5564)
+++ trunk/linux-user/strace.list	2008-10-28 10:39:39 UTC (rev 5565)
@@ -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 },

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-28 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 10:39 [Qemu-devel] [5565] Fix return value printing for shmat (Lauro Ramos Venancio) Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).