fix crash

This commit is contained in:
Glenn Maynard
2007-01-24 11:49:53 +00:00
parent 957d6232e1
commit ef525b19c5
2 changed files with 2 additions and 2 deletions
@@ -51,7 +51,7 @@ static void output_stack_trace( FILE *out, const void **BacktracePointers )
bn.Demangle();
/* Don't show the main module name. */
if( bn.File == g_pCrashHandlerArgv0 )
if( bn.File == g_pCrashHandlerArgv0 && !bn.Symbol.empty() )
bn.File = "";
if( bn.Symbol == "__libc_start_main" )