Added ReadValueFromMemory() version taking an "address space" + address pair as

used by DWARF. Not needed/supported for x86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31576 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-07-15 02:07:42 +00:00
parent b739c6a866
commit ade8662ece
3 changed files with 15 additions and 0 deletions

View File

@ -66,6 +66,9 @@ public:
virtual status_t ReadValueFromMemory(target_addr_t address,
uint32 valueType, BVariant& _value) const
= 0;
virtual status_t ReadValueFromMemory(target_addr_t addressSpace,
target_addr_t address, uint32 valueType,
BVariant& _value) const = 0;
virtual status_t DisassembleCode(FunctionDebugInfo* function,
const void* buffer, size_t bufferSize,

View File

@ -454,6 +454,15 @@ ArchitectureX86::ReadValueFromMemory(target_addr_t address, uint32 valueType,
}
status_t
ArchitectureX86::ReadValueFromMemory(target_addr_t addressSpace,
target_addr_t address, uint32 valueType, BVariant& _value) const
{
// n/a on this architecture
return B_BAD_VALUE;
}
status_t
ArchitectureX86::DisassembleCode(FunctionDebugInfo* function,
const void* buffer, size_t bufferSize, DisassembledCode*& _sourceCode)

View File

@ -43,6 +43,9 @@ public:
virtual status_t ReadValueFromMemory(target_addr_t address,
uint32 valueType, BVariant& _value) const;
virtual status_t ReadValueFromMemory(target_addr_t addressSpace,
target_addr_t address, uint32 valueType,
BVariant& _value) const;
virtual status_t DisassembleCode(FunctionDebugInfo* function,
const void* buffer, size_t bufferSize,