Removed dead code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31172 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,25 +17,6 @@
|
|||||||
#include "SymbolInfo.h"
|
#include "SymbolInfo.h"
|
||||||
|
|
||||||
|
|
||||||
struct DebuggerDebugInfo::FindByAddressPredicate : UnaryPredicate<SymbolInfo> {
|
|
||||||
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,
|
DebuggerDebugInfo::DebuggerDebugInfo(const ImageInfo& imageInfo,
|
||||||
DebuggerInterface* debuggerInterface, Architecture* architecture)
|
DebuggerInterface* debuggerInterface, Architecture* architecture)
|
||||||
:
|
:
|
||||||
|
|||||||
Reference in New Issue
Block a user