[haiku-commits] r33915 - haiku/trunk/src/apps/debugger/debug_info

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 6 Nov 2009 15:56:32 +0100 (CET)

Author: bonefish
Date: 2009-11-06 15:56:32 +0100 (Fri, 06 Nov 2009)
New Revision: 33915
Changeset: http://dev.haiku-os.org/changeset/33915/haiku

Modified:
   haiku/trunk/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp
Log:
More debug output.


Modified: haiku/trunk/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp    
2009-11-06 14:56:10 UTC (rev 33914)
+++ haiku/trunk/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp    
2009-11-06 14:56:32 UTC (rev 33915)
@@ -482,8 +482,10 @@
        CompilationUnit* unit = function->GetCompilationUnit();
        error = fFile->UnwindCallFrame(unit, function->SubprogramEntry(),
                instructionPointer, inputInterface, outputInterface, 
framePointer);
-       if (error != B_OK)
+       if (error != B_OK) {
+               TRACE_CFI("Failed to unwind call frame: %s\n", strerror(error));
                return B_UNSUPPORTED;
+       }
 
        TRACE_CFI_ONLY(
                TRACE_CFI("unwound registers:\n");


Other related posts:

  • » [haiku-commits] r33915 - haiku/trunk/src/apps/debugger/debug_info - ingo_weinhold