mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:50:33 +00:00
linux-user: Improve formatting for mremap()
Improve slightly the strace output for mremap(). Print the old_address and new_address as hex values, old_size and new_size as unsigned, and the flags as integer. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
This commit is contained in:
@@ -641,7 +641,7 @@
|
||||
{ TARGET_NR_mq_unlink, "mq_unlink" , NULL, print_mq_unlink, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_mremap
|
||||
{ TARGET_NR_mremap, "mremap" , NULL, NULL, NULL },
|
||||
{ TARGET_NR_mremap, "mremap" , "%s(%#x,%u,%u,%d,%#x)", NULL, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_msgctl
|
||||
{ TARGET_NR_msgctl, "msgctl" , NULL, NULL, NULL },
|
||||
|
||||
Reference in New Issue
Block a user