Author: kib
Date: Tue Jun 16 21:25:58 2020
New Revision: 362250
URL: https://svnweb.freebsd.org/changeset/base/362250

Log:
  rtld: Add debug line for dlopen_object().
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/libexec/rtld-elf/rtld.c

Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c        Tue Jun 16 21:23:39 2020        
(r362249)
+++ head/libexec/rtld-elf/rtld.c        Tue Jun 16 21:25:58 2020        
(r362250)
@@ -3438,6 +3438,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)) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to