aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.list
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2021-05-12 18:13:58 +0800
committerLaurent Vivier <laurent@vivier.eu>2021-05-15 21:41:47 +0200
commit9f771ad8399d5832a99564919379ab29c1bbbdce (patch)
tree0359ac476666ef95b60ad02508640e7d6b333863 /linux-user/strace.list
parent74081ae0ff4aea6ad0db0427ed31ac5250a58b3f (diff)
downloadqemu-9f771ad8399d5832a99564919379ab29c1bbbdce.zip
qemu-9f771ad8399d5832a99564919379ab29c1bbbdce.tar.gz
qemu-9f771ad8399d5832a99564919379ab29c1bbbdce.tar.bz2
linux-user: Add strace support for printing arguments of llseek
Some target are using llseek instead of _llseek like riscv, nios2, hexagon, and openrisc. Signed-off-by: Kito Cheng <kito.cheng@sifive.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210512101358.122781-1-kito.cheng@sifive.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r--linux-user/strace.list3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 3b7c155..18f7217 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -511,6 +511,9 @@
#ifdef TARGET_NR__llseek
{ TARGET_NR__llseek, "_llseek" , NULL, print__llseek, NULL },
#endif
+#ifdef TARGET_NR_llseek
+{ TARGET_NR_llseek, "llseek" , NULL, print_llseek, NULL },
+#endif
#ifdef TARGET_NR_lock
{ TARGET_NR_lock, "lock" , NULL, NULL, NULL },
#endif