From: Julian Seward Date: Tue, 6 Sep 2011 11:26:31 +0000 (+0000) Subject: Print the (pseudo-)soname when doing debug printing for Mach-O X-Git-Tag: svn/VALGRIND_3_7_0~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e6a57bac9b658dde80d67c81981b6eb1c131c8;p=thirdparty%2Fvalgrind.git Print the (pseudo-)soname when doing debug printing for Mach-O debuginfo reading. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12011 --- diff --git a/coregrind/m_debuginfo/readmacho.c b/coregrind/m_debuginfo/readmacho.c index 03636ee9bc..72a0e3649d 100644 --- a/coregrind/m_debuginfo/readmacho.c +++ b/coregrind/m_debuginfo/readmacho.c @@ -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) {