winamp/Src/Wasabi/api/script/debugger/debugsymbols.h

38 lines
609 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef __DEBUGSYMBOLS_H
#define __DEBUGSYMBOLS_H
#include <bfc/ptrlist.h>
#include <bfc/string/StringW.h>
#include "disasm.h"
class SourceCodeLine;
class SourceCodeLineI;
class MakiDisassembler;
class DebugSymbols {
public:
DebugSymbols(int vcpuid);
virtual ~DebugSymbols();
virtual int getNumLines();
virtual int findLine(int pointer);
virtual SourceCodeLine *enumLine(int n);
private:
PtrList<SourceCodeLineI> lines;
MakiDisassembler disasm;
StringW binaryfilename;
int gotsymbols;
PtrList<StringW> files;
//PtrList<MakiVariable> vars;
};
#endif