diff --git a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp index 513379bd16..53ceff99e3 100644 --- a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp @@ -116,6 +116,13 @@ struct DwarfImageDebugInfo::UnwindTargetInterface : DwarfTargetInterface { == B_OK; } + virtual bool ReadValueFromMemory(target_addr_t addressSpace, + target_addr_t address, uint32 valueType, BVariant& _value) const + { + return fArchitecture->ReadValueFromMemory(addressSpace, address, + valueType, _value) == B_OK; + } + private: const Register* _RegisterAt(uint32 dwarfIndex) const { diff --git a/src/apps/debugger/dwarf/DwarfTargetInterface.h b/src/apps/debugger/dwarf/DwarfTargetInterface.h index 91c8453d7a..199b27f49c 100644 --- a/src/apps/debugger/dwarf/DwarfTargetInterface.h +++ b/src/apps/debugger/dwarf/DwarfTargetInterface.h @@ -33,6 +33,10 @@ public: virtual bool ReadValueFromMemory(target_addr_t address, uint32 valueType, BVariant& _value) const = 0; + virtual bool ReadValueFromMemory(target_addr_t addressSpace, + target_addr_t address, + uint32 valueType, BVariant& _value) const + = 0; };