Commits

Anonymous committed bc90867

fix problem in SealDebug.cxx

Comments (0)

Files changed (2)

+2011-07-21  Rolf Seuster < seuster AT cern.ch>
+	* fix problem in SealDebug.cxx
+	* no line numbers
+	* tagging CxxUtils-00-00-80
+
 2011-06-16  Sebastien Binet  <sebastien.binet@cern.ch>
 
 	* tagging CxxUtils-00-00-79

src/SealDebug.cxx

 
       if ( addr2LinePath == "/usr/bin/eu-addr2line" )
 	{
-	  snprintf (line, LINE_MAX, "%s -S -A -p %d %p | c++filt | tr \\\\012 \\\\040  ",
+	  snprintf (line, LINE_MAX, "%s -f -e %s %p | /usr/bin/c++filt | /usr/bin/tr \\\\012 \\\\040 ",
 		    addr2LinePath.c_str(),
-		    getpid(),(void*)addr);
+		    info.dli_fname,
+		    (void*)relative_address); 
 	}
       else
 	{