From 905860f5b4dea15279f80c9d0a323ba18bd1536f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 20 Jul 2009 01:07:00 +0000 Subject: [PATCH] The DWARF specs were a bit fuzzy on this one. Apparently only the low pc attribute serves as base address for address range and location lists. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31648 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/dwarf/CompilationUnit.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/apps/debugger/dwarf/CompilationUnit.cpp b/src/apps/debugger/dwarf/CompilationUnit.cpp index 585e755022..e5ea67fd08 100644 --- a/src/apps/debugger/dwarf/CompilationUnit.cpp +++ b/src/apps/debugger/dwarf/CompilationUnit.cpp @@ -96,9 +96,6 @@ CompilationUnit::SetAddressRanges(TargetAddressRangeList* ranges) target_addr_t CompilationUnit::AddressRangeBase() const { - if (fAddressRanges != NULL) - return fAddressRanges->LowestAddress(); - return fUnitEntry != NULL ? fUnitEntry->LowPC() : 0; }