1
0

debugsymbols.h 609 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __DEBUGSYMBOLS_H
  2. #define __DEBUGSYMBOLS_H
  3. #include <bfc/ptrlist.h>
  4. #include <bfc/string/StringW.h>
  5. #include "disasm.h"
  6. class SourceCodeLine;
  7. class SourceCodeLineI;
  8. class MakiDisassembler;
  9. class DebugSymbols {
  10. public:
  11. DebugSymbols(int vcpuid);
  12. virtual ~DebugSymbols();
  13. virtual int getNumLines();
  14. virtual int findLine(int pointer);
  15. virtual SourceCodeLine *enumLine(int n);
  16. private:
  17. PtrList<SourceCodeLineI> lines;
  18. MakiDisassembler disasm;
  19. StringW binaryfilename;
  20. int gotsymbols;
  21. PtrList<StringW> files;
  22. //PtrList<MakiVariable> vars;
  23. };
  24. #endif