-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathadbg.h
More file actions
35 lines (28 loc) · 715 Bytes
/
adbg.h
File metadata and controls
35 lines (28 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* File: adbg.h
* Author: ideras
*
* Created on September 12, 2016, 4:41 PM
*/
#ifndef ADBG_H
#define ADBG_H
#include <string>
#include <vector>
using namespace std;
class AsmDebugger
{
public:
virtual void showStatus() = 0;
virtual void addBreakpoint(int line) = 0;
virtual void removeBreakpoint(int line) = 0;
virtual void removeAllBreakpoints() = 0;
virtual bool isInBreakpoint() = 0;
virtual bool isFinished() = 0;
virtual void setSourceLines(vector<string> sourceLines) = 0;
virtual void start() = 0;
virtual bool next() = 0;
virtual bool run() = 0;
virtual void stop() = 0;
virtual bool doSimCommand(string cmd) = 0;
};
#endif /* ADBG_H */