2009-06-28 01:09:21 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef TEAM_DEBUG_INFO_H
|
|
|
|
#define TEAM_DEBUG_INFO_H
|
|
|
|
|
|
|
|
#include <ObjectList.h>
|
|
|
|
#include <Referenceable.h>
|
|
|
|
|
|
|
|
#include "ImageInfo.h"
|
|
|
|
|
|
|
|
|
|
|
|
class Architecture;
|
|
|
|
class DebuggerInterface;
|
|
|
|
class ImageDebugInfo;
|
|
|
|
class ImageInfo;
|
2009-07-02 02:09:33 +04:00
|
|
|
class LocatableFile;
|
2009-06-28 01:09:21 +04:00
|
|
|
class SpecificTeamDebugInfo;
|
|
|
|
|
|
|
|
|
|
|
|
class TeamDebugInfo : public Referenceable {
|
|
|
|
public:
|
|
|
|
TeamDebugInfo(
|
|
|
|
DebuggerInterface* debuggerInterface,
|
|
|
|
Architecture* architecture);
|
|
|
|
~TeamDebugInfo();
|
|
|
|
|
|
|
|
status_t Init();
|
|
|
|
|
|
|
|
status_t LoadImageDebugInfo(const ImageInfo& imageInfo,
|
2009-07-02 02:09:33 +04:00
|
|
|
LocatableFile* imageFile,
|
2009-06-28 01:09:21 +04:00
|
|
|
ImageDebugInfo*& _imageDebugInfo);
|
|
|
|
|
|
|
|
private:
|
|
|
|
typedef BObjectList<SpecificTeamDebugInfo> SpecificInfoList;
|
|
|
|
|
|
|
|
private:
|
|
|
|
DebuggerInterface* fDebuggerInterface;
|
|
|
|
Architecture* fArchitecture;
|
|
|
|
SpecificInfoList fSpecificInfos;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TEAM_DEBUG_INFO_H
|