Author: kib
Date: Tue Jun 23 03:18:07 2020
New Revision: 362525
URL: https://svnweb.freebsd.org/changeset/base/362525

Log:
  MFC r362250:
  rtld: Add debug line for dlopen_object().

Modified:
  stable/12/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/12/libexec/rtld-elf/rtld.c   Tue Jun 23 03:17:14 2020        
(r362524)
+++ stable/12/libexec/rtld-elf/rtld.c   Tue Jun 23 03:18:07 2020        
(r362525)
@@ -3391,6 +3391,9 @@ dlopen_object(const char *name, int fd, Obj_Entry *ref
     RtldLockState mlockstate;
     int result;
 
+    dbg("dlopen_object name \"%s\" fd %d refobj \"%s\" lo_flags %#x mode %#x",
+      name != NULL ? name : "<null>", fd, refobj == NULL ? "<null>" :
+      refobj->path, lo_flags, mode);
     objlist_init(&initlist);
 
     if (lockstate == NULL && !(lo_flags & RTLD_LO_EARLY)) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to