mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
linux-user: Add translation for argument of msync()
msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian package with a hppa-linux guest on a x86-64 host. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <Y5rMcts4qe15RaVN@p100> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
2fe8ed6fe9
commit
fe080593dd
5 changed files with 33 additions and 2 deletions
|
@ -656,7 +656,7 @@
|
|||
{ TARGET_NR_msgsnd, "msgsnd" , NULL, NULL, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_msync
|
||||
{ TARGET_NR_msync, "msync" , NULL, NULL, NULL },
|
||||
{ TARGET_NR_msync, "msync" , "%s(%p,%u,%d)", NULL, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_multiplexer
|
||||
{ TARGET_NR_multiplexer, "multiplexer" , NULL, NULL, NULL },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue