[strace/strace] Add -n/--syscall-number option (#149)

Dmitry V. Levin notifications at github.com
Fri Aug 21 15:34:03 UTC 2020


@ldv-alt commented on this pull request.



> @@ -0,0 +1,42 @@
+/*
+ * Test strace's -n option.
+ *
+ * Copyright (c) 2020 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "tests.h"
+#include "scno.h"
+
+#if defined __NR_socketcall && defined __NR_listen && defined __i386__

At least it would test print_syscall_number, it's better than testing nothing.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/149#discussion_r474773661
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200821/05bc254b/attachment.htm>


More information about the Strace-devel mailing list