qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] linux-user: Show SIGCHLD in clone() strace output
@ 2023-01-25 13:57 Helge Deller
  2023-01-25 13:57 ` [PATCH 2/2] linux-user: Show 4th argument of rt_sigprocmask() in strace Helge Deller
  2023-01-25 14:18 ` [PATCH 1/2] linux-user: Show SIGCHLD in clone() strace output Helge Deller
  0 siblings, 2 replies; 4+ messages in thread
From: Helge Deller @ 2023-01-25 13:57 UTC (permalink / raw)
  To: Laurent Vivier, qemu-devel; +Cc: Helge Deller

When stracing a program, show up the SIGCHLD value the same
way as it's done when running strace natively, e.g.:
clone(child_stack=0xf7af0040, flags=CLONE_VM|CLONE_VFORK|SIGCHLD, ...

Signed-off-by: Helge Deller <deller@gmx.de>
---
 linux-user/strace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/linux-user/strace.c b/linux-user/strace.c
index 82dc1a1e20..3157e4b420 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -1136,6 +1136,7 @@ UNUSED static struct flags clone_flags[] = {
 #if defined(CLONE_IO)
     FLAG_GENERIC(CLONE_IO),
 #endif
+    FLAG_TARGET(SIGCHLD),
     FLAG_END,
 };

--
2.38.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-30 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-25 13:57 [PATCH 1/2] linux-user: Show SIGCHLD in clone() strace output Helge Deller
2023-01-25 13:57 ` [PATCH 2/2] linux-user: Show 4th argument of rt_sigprocmask() in strace Helge Deller
2023-01-30 12:37   ` Laurent Vivier
2023-01-25 14:18 ` [PATCH 1/2] linux-user: Show SIGCHLD in clone() strace output Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).