From: Helge Deller <deller@gmx.de>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Laurent Vivier" <laurent@vivier.eu>
Subject: [PATCH v2] linux-user/strace: Add missing signal strings
Date: Wed, 20 Nov 2019 15:55:55 +0100 [thread overview]
Message-ID: <20191120145555.GA15154@ls3530.fritz.box> (raw)
Add the textual representations of some missing target signals.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 3d4d684450..de43238fa4 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -146,6 +146,19 @@ print_signal(abi_ulong arg, int last)
case TARGET_SIGSTOP: signal_name = "SIGSTOP"; break;
case TARGET_SIGTTIN: signal_name = "SIGTTIN"; break;
case TARGET_SIGTTOU: signal_name = "SIGTTOU"; break;
+ case TARGET_SIGIO: signal_name = "SIGIO"; break;
+ case TARGET_SIGBUS: signal_name = "SIGBUS"; break;
+ case TARGET_SIGPWR: signal_name = "SIGPWR"; break;
+ case TARGET_SIGURG: signal_name = "SIGURG"; break;
+ case TARGET_SIGSYS: signal_name = "SIGSYS"; break;
+ case TARGET_SIGTRAP: signal_name = "SIGTRAP"; break;
+ case TARGET_SIGXCPU: signal_name = "SIGXCPU"; break;
+ case TARGET_SIGPROF: signal_name = "SIGPROF"; break;
+ case TARGET_SIGTSTP: signal_name = "SIGTSTP"; break;
+ case TARGET_SIGXFSZ: signal_name = "SIGXFSZ"; break;
+ case TARGET_SIGWINCH: signal_name = "SIGWINCH"; break;
+ case TARGET_SIGVTALRM: signal_name = "SIGVTALRM"; break;
+ case TARGET_SIGSTKFLT: signal_name = "SIGSTKFLT"; break;
}
if (signal_name == NULL) {
print_raw_param("%ld", arg, last);
next reply other threads:[~2019-11-20 14:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 14:55 Helge Deller [this message]
2019-11-21 12:04 ` [PATCH v2] linux-user/strace: Add missing signal strings Richard Henderson
2019-11-21 16:34 ` Philippe Mathieu-Daudé
2019-11-21 17:26 ` Laurent Vivier
2019-11-21 18:53 ` Aleksandar Markovic
2019-11-21 18:43 ` Aleksandar Markovic
2019-11-22 7:43 ` Helge Deller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191120145555.GA15154@ls3530.fritz.box \
--to=deller@gmx.de \
--cc=f4bug@amsat.org \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).