projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c75571
)
linux-user/strace: Adjust get_thread_area for m68k
author
Richard Henderson
<richard.henderson@linaro.org>
Thu, 2 Jun 2022 01:34:00 +0000
(18:34 -0700)
committer
Laurent Vivier
<laurent@vivier.eu>
Thu, 2 Jun 2022 07:35:03 +0000
(09:35 +0200)
Unlike i386, m68k get_thread_area has no arguments.
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <
20220602013401
.303699-17-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/strace.list
patch
|
blob
|
history
diff --git
a/linux-user/strace.list
b/linux-user/strace.list
index 278596acd131d327a0f19f308f328bccbc262eb9..72e17b1acf00a6322419b7b5f658e269f745d2a6 100644
(file)
--- a/
linux-user/strace.list
+++ b/
linux-user/strace.list
@@
-384,8
+384,13
@@
{ TARGET_NR_getsockopt, "getsockopt" , NULL, NULL, NULL },
#endif
#ifdef TARGET_NR_get_thread_area
+#if defined(TARGET_I386) && defined(TARGET_ABI32)
{ TARGET_NR_get_thread_area, "get_thread_area", "%s(0x"TARGET_ABI_FMT_lx")",
NULL, NULL },
+#elif defined(TARGET_M68K)
+{ TARGET_NR_get_thread_area, "get_thread_area" , "%s()",
+ NULL, print_syscall_ret_addr },
+#endif
#endif
#ifdef TARGET_NR_gettid
{ TARGET_NR_gettid, "gettid" , "%s()", NULL, NULL },