From cc13762f11016e84330cc7e9f27bde90beaa503a Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 3 Jul 2009 21:09:29 +0000 Subject: [PATCH] Don't skip subprogram entries that have an abstract origin. Only do so, when the function is actually inlined, which we already checked for anyway. Now the source location info should be retrieved correctly for all functions, even if if we get potential duplicates for non-inlined functions. This has to be dealt with differently, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31400 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp index f56516a18c..2105dca8f1 100644 --- a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp @@ -197,8 +197,7 @@ printf(" %ld compilation units\n", fFile->CountCompilationUnits()); if (subprogramEntry->IsDeclaration() || subprogramEntry->IsPrototyped() || subprogramEntry->Inline() == DW_INL_inlined - || subprogramEntry->Inline() == DW_INL_declared_inlined - || subprogramEntry->AbstractOrigin() != NULL) { + || subprogramEntry->Inline() == DW_INL_declared_inlined) { continue; }