From: Nicholas Nethercote Date: Fri, 20 Apr 2007 02:15:28 +0000 (+0000) Subject: augment previous commit X-Git-Tag: svn/VALGRIND_3_3_0~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb2eae844c9e52546f686475c5ad2a1eb2d90f99;p=thirdparty%2Fvalgrind.git augment previous commit git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6708 --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index e7fad3d3c3..ca830040f7 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -741,7 +741,10 @@ Bool VG_(get_filename_linenum) ( Addr a, search_all_loctabs ( a, &si, &locno ); if (si == NULL) { - if (dirname_available) *dirname_available = False; + if (dirname_available) { + *dirname_available = False; + *dirname = 0; + } return False; }