[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 16/17] linux-user/strace: Adjust get_thread_area for m68k
From: |
Richard Henderson |
Subject: |
[PATCH v4 16/17] linux-user/strace: Adjust get_thread_area for m68k |
Date: |
Sat, 30 Apr 2022 10:53:41 -0700 |
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.34.1
- [PATCH v4 01/17] target/m68k: Raise the TRAPn exception with the correct pc, (continued)
- [PATCH v4 01/17] target/m68k: Raise the TRAPn exception with the correct pc, Richard Henderson, 2022/04/30
- [PATCH v4 02/17] target/m68k: Switch over exception type in m68k_interrupt_all, Richard Henderson, 2022/04/30
- [PATCH v4 03/17] target/m68k: Fix coding style in m68k_interrupt_all, Richard Henderson, 2022/04/30
- [PATCH v4 04/17] linux-user/m68k: Handle EXCP_TRAP1 through EXCP_TRAP15, Richard Henderson, 2022/04/30
- [PATCH v4 05/17] target/m68k: Remove retaddr in m68k_interrupt_all, Richard Henderson, 2022/04/30
- [PATCH v4 06/17] target/m68k: Fix address argument for EXCP_CHK, Richard Henderson, 2022/04/30
- [PATCH v4 08/17] target/m68k: Fix address argument for EXCP_TRACE, Richard Henderson, 2022/04/30
- [PATCH v4 07/17] target/m68k: Fix pc, c flag, and address argument for EXCP_DIV0, Richard Henderson, 2022/04/30
- [PATCH v4 13/17] target/m68k: Implement FTRAPcc, Richard Henderson, 2022/04/30
- [PATCH v4 11/17] target/m68k: Implement TPF in terms of TRAPcc, Richard Henderson, 2022/04/30
- [PATCH v4 16/17] linux-user/strace: Adjust get_thread_area for m68k,
Richard Henderson <=
- [PATCH v4 15/17] linux-user/strace: Fix print_syscall_err, Richard Henderson, 2022/04/30
- [PATCH v4 17/17] target/m68k: Mark helper_raise_exception as noreturn, Richard Henderson, 2022/04/30
- [PATCH v4 09/17] target/m68k: Fix stack frame for EXCP_ILLEGAL, Richard Henderson, 2022/04/30
- [PATCH v4 12/17] target/m68k: Implement TRAPV, Richard Henderson, 2022/04/30
- [PATCH v4 10/17] target/m68k: Implement TRAPcc, Richard Henderson, 2022/04/30
- [PATCH v4 14/17] tests/tcg/m68k: Add trap.c, Richard Henderson, 2022/04/30