From 704e25ea2d734d901392fe0bd86bdbf201894ab6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 22 Jun 2009 01:08:44 +0000 Subject: [PATCH] Removed dead code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31172 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../debugger/debug_info/DebuggerDebugInfo.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/apps/debugger/debug_info/DebuggerDebugInfo.cpp b/src/apps/debugger/debug_info/DebuggerDebugInfo.cpp index 96d6e39cf5..dd4a7b239d 100644 --- a/src/apps/debugger/debug_info/DebuggerDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DebuggerDebugInfo.cpp @@ -17,25 +17,6 @@ #include "SymbolInfo.h" -struct DebuggerDebugInfo::FindByAddressPredicate : UnaryPredicate { - FindByAddressPredicate(target_addr_t address) - : - fAddress(address) - { - } - - virtual int operator()(const SymbolInfo* info) const - { - if (fAddress < info->Address()) - return -1; - return fAddress < info->Address() + info->Size() ? 0 : 1; - } - -private: - target_addr_t fAddress; -}; - - DebuggerDebugInfo::DebuggerDebugInfo(const ImageInfo& imageInfo, DebuggerInterface* debuggerInterface, Architecture* architecture) :