From 36ef2106b713c4d5296c28545fe350c2be97d283 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 3 Jun 2022 17:24:58 -0400 Subject: [PATCH] strace: Add second entry in TypeHandler for const msghdr*. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way sendmsg's argument will also be traced. Change-Id: I40b44ffc732d884393f944bc2b1ced7b0a551287 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5354 Tested-by: Commit checker robot Reviewed-by: Jérôme Duval --- src/bin/debug/strace/TypeHandler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/debug/strace/TypeHandler.h b/src/bin/debug/strace/TypeHandler.h index 135635a049..c9d3046439 100644 --- a/src/bin/debug/strace/TypeHandler.h +++ b/src/bin/debug/strace/TypeHandler.h @@ -113,6 +113,7 @@ DEFINE_FACTORY(flock_ptr, flock *); DEFINE_FACTORY(ifconf_ptr, ifconf *); DEFINE_FACTORY(ifreq_ptr, ifreq *); DEFINE_FACTORY(msghdr_ptr, msghdr *); +DEFINE_FACTORY(msghdr_ptr, const msghdr *); DEFINE_FACTORY(message_args_ptr, message_args *); DEFINE_FACTORY(pollfd_ptr, pollfd *); DEFINE_FACTORY(siginfo_t_ptr, siginfo_t *);