[haiku-commits] Change in haiku[master]: strace: Add second entry in TypeHandler for const msghdr*.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 3 Jun 2022 21:29:13 +0000

From waddlesplash <waddlesplash@xxxxxxxxx>:

waddlesplash has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/5354 ;)


Change subject: strace: Add second entry in TypeHandler for const msghdr*.
......................................................................

strace: Add second entry in TypeHandler for const msghdr*.

This way sendmsg's argument will also be traced.
---
M src/bin/debug/strace/TypeHandler.h
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/54/5354/1

diff --git a/src/bin/debug/strace/TypeHandler.h 
b/src/bin/debug/strace/TypeHandler.h
index 135635a..c9d3046 100644
--- a/src/bin/debug/strace/TypeHandler.h
+++ b/src/bin/debug/strace/TypeHandler.h
@@ -113,6 +113,7 @@
 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 *);

--
To view, visit https://review.haiku-os.org/c/haiku/+/5354
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I40b44ffc732d884393f944bc2b1ced7b0a551287
Gerrit-Change-Number: 5354
Gerrit-PatchSet: 1
Gerrit-Owner: waddlesplash <waddlesplash@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: strace: Add second entry in TypeHandler for const msghdr*. - Gerrit