|
From: <sv...@va...> - 2011-09-06 11:31:19
|
Author: sewardj
Date: 2011-09-06 12:26:31 +0100 (Tue, 06 Sep 2011)
New Revision: 12011
Log:
Print the (pseudo-)soname when doing debug printing for Mach-O
debuginfo reading.
Modified:
trunk/coregrind/m_debuginfo/readmacho.c
Modified: trunk/coregrind/m_debuginfo/readmacho.c
===================================================================
--- trunk/coregrind/m_debuginfo/readmacho.c 2011-09-05 22:18:13 UTC (rev 12010)
+++ trunk/coregrind/m_debuginfo/readmacho.c 2011-09-06 11:26:31 UTC (rev 12011)
@@ -814,6 +814,12 @@
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) {
|