Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core functionality and lower layers. Correspondingly add headers/private/debugger for shared headers to be used by clients such as the Debugger application and eventual remote_debug_server. Adjust various files to account for differences as a result of the split and moves. - Add libdebugger.so to minimal Jamfile.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Copyright 2015, Rene Gollent, [email protected].
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef TEAM_MEMORY_H
|
||||
#define TEAM_MEMORY_H
|
||||
|
||||
|
||||
#include <Referenceable.h>
|
||||
|
||||
#include "TargetAddressRange.h"
|
||||
|
||||
|
||||
class BString;
|
||||
|
||||
|
||||
class TeamMemory : public BReferenceable {
|
||||
public:
|
||||
virtual ~TeamMemory();
|
||||
|
||||
|
||||
virtual status_t GetMemoryProperties(target_addr_t baseAddress,
|
||||
uint32& protection, uint32& locking) = 0;
|
||||
|
||||
virtual ssize_t ReadMemory(target_addr_t address, void* buffer,
|
||||
size_t size) = 0;
|
||||
virtual status_t ReadMemoryString(target_addr_t address,
|
||||
size_t maxLength, BString& _string);
|
||||
virtual ssize_t WriteMemory(target_addr_t address,
|
||||
void* buffer, size_t size) = 0;
|
||||
};
|
||||
|
||||
|
||||
#endif // TEAM_MEMORY_H
|
||||
Reference in New Issue
Block a user