]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Print the (pseudo-)soname when doing debug printing for Mach-O
authorJulian Seward <jseward@acm.org>
Tue, 6 Sep 2011 11:26:31 +0000 (11:26 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 6 Sep 2011 11:26:31 +0000 (11:26 +0000)
debuginfo reading.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12011

coregrind/m_debuginfo/readmacho.c

index 03636ee9bc7d8582be5d25c0a82186c81c4d1d3a..72a0e3649d5ad9cc5694ef38b3714ad11461f95c 100644 (file)
@@ -814,6 +814,12 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di )
       di->soname = ML_(dinfo_strdup)("di.readmacho.noname", "NONE");
    }
 
+   if (di->trace_symtab) {
+      VG_(printf)("\n");
+      VG_(printf)("SONAME = %s\n", di->soname);
+      VG_(printf)("\n");
+   }
+
    /* Now we have the base object to hand.  Read symbols from it. */
 
    if (ii.macho_img && ii.macho_img_szB > 0 && symcmd && dysymcmd) {