From c9b58a73135b2d322a9e3949c7004cbeeb3a9e8e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 6 Nov 2009 14:56:32 +0000 Subject: [PATCH] More debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33915 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp index 7f466258fb..d9c5f90e36 100644 --- a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp @@ -482,8 +482,10 @@ DwarfImageDebugInfo::CreateFrame(Image* image, 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");