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:
parent
b739c6a866
commit
ade8662ece
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user