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,42 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef VARIABLE_H
|
||||
#define VARIABLE_H
|
||||
|
||||
|
||||
#include <String.h>
|
||||
|
||||
#include <Referenceable.h>
|
||||
|
||||
|
||||
class CpuState;
|
||||
class ObjectID;
|
||||
class Type;
|
||||
class ValueLocation;
|
||||
|
||||
|
||||
class Variable : public BReferenceable {
|
||||
public:
|
||||
Variable(ObjectID* id, const BString& name,
|
||||
Type* type, ValueLocation* location,
|
||||
CpuState* state = NULL);
|
||||
~Variable();
|
||||
|
||||
ObjectID* ID() const { return fID; }
|
||||
const BString& Name() const { return fName; }
|
||||
Type* GetType() const { return fType; }
|
||||
ValueLocation* Location() const { return fLocation; }
|
||||
CpuState* GetCpuState() const { return fCpuState; }
|
||||
|
||||
private:
|
||||
ObjectID* fID;
|
||||
BString fName;
|
||||
Type* fType;
|
||||
ValueLocation* fLocation;
|
||||
CpuState* fCpuState;
|
||||
};
|
||||
|
||||
|
||||
#endif // VARIABLE_H
|
||||
Reference in New Issue
Block a user