[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 15/15] linux-user/strace: Adjust get_thread_area for m68k
From: |
Richard Henderson |
Subject: |
[PATCH v2 15/15] linux-user/strace: Adjust get_thread_area for m68k |
Date: |
Thu, 2 Dec 2021 12:49:00 -0800 |
Unlike i386, m68k get_thread_area has no arguments.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
linux-user/strace.list | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 278596acd1..72e17b1acf 100644
--- 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 },
--
2.25.1
- [PATCH v2 08/15] target/m68k: Fix address argument for EXCP_TRACE, (continued)
- [PATCH v2 10/15] target/m68k: Implement TRAPV, Richard Henderson, 2021/12/02
- [PATCH v2 15/15] linux-user/strace: Adjust get_thread_area for m68k,
Richard Henderson <=
- [PATCH v2 07/15] target/m68k: Fix pc, c flag, and address argument for EXCP_DIV0, Richard Henderson, 2021/12/02
- [PATCH v2 03/15] linux-user/m68k: Use force_sig_fault, Richard Henderson, 2021/12/02
- [PATCH v2 11/15] target/m68k: Implement FTRAPcc, Richard Henderson, 2021/12/02