mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 16:49:26 +00:00
26 lines
354 B
C++
26 lines
354 B
C++
#ifndef __DEBUGGER_H
|
|
#define __DEBUGGER_H
|
|
|
|
#include <pthread.h>
|
|
#include <inttypes.h>
|
|
|
|
class Debugger {
|
|
public:
|
|
Debugger();
|
|
~Debugger();
|
|
|
|
void setSocket(int cliSock);
|
|
void step();
|
|
bool active();
|
|
|
|
// private:
|
|
int sd; // server (listener)
|
|
int cd; // client (connected to us)
|
|
pthread_t listenThreadID;
|
|
|
|
uint32_t breakpoint;
|
|
};
|
|
|
|
|
|
#endif
|