From: Nicholas Nethercote Date: Wed, 20 May 2009 02:07:56 +0000 (+0000) Subject: DARWIN sync: stabs wibble. X-Git-Tag: svn/VALGRIND_3_5_0~654 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d140d6cb6426c7741055c622626a6f59d5fd3289;p=thirdparty%2Fvalgrind.git DARWIN sync: stabs wibble. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9997 --- diff --git a/coregrind/m_debuginfo/readstabs.c b/coregrind/m_debuginfo/readstabs.c index 8a3c6e195a..5bb9ac2d24 100644 --- a/coregrind/m_debuginfo/readstabs.c +++ b/coregrind/m_debuginfo/readstabs.c @@ -129,11 +129,12 @@ void ML_(read_debuginfo_stabs) ( DebugInfo* di, const struct nlist *st = &stab[i]; Char *string; - if (debug && 1) { - VG_(printf) ( "%2d type=%d othr=%d desc=%d value=0x%x strx=%d %s\n", i, + if (di->trace_symtab) { + VG_(printf) ( "%2d type=%d othr=%d desc=%d " + "value=0x%x strx=%d %s\n", i, st->n_type, st->n_other, st->n_desc, - (int)st->n_value, - (int)st->n_un.n_strx, + (Int)st->n_value, + (Int)st->n_un.n_strx, stabstr + st->n_un.n_strx ); }