add debug funcs
+ created debug funcs + created `registers` class + add it to build build not passed(
This commit is contained in:
26
src/debug/debug.h
Normal file
26
src/debug/debug.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef __DEBUG_LUA_H__
|
||||
#define __DEBUG_LUA_H__
|
||||
|
||||
#include "../syscalls.h"
|
||||
|
||||
enum BreakpointCondition
|
||||
{
|
||||
Execute = 0,
|
||||
Write = 1,
|
||||
ReadWrite = 0b11
|
||||
};
|
||||
|
||||
enum BreakpointLen
|
||||
{
|
||||
Byte = 0,
|
||||
Word = 1,
|
||||
Dword = 0b11
|
||||
};
|
||||
|
||||
int syscalls_DebugPutc(lua_State* L);
|
||||
|
||||
int syscalls_DebugPuts(lua_State* L);
|
||||
|
||||
int syscalls_SetMessageArea(lua_State* L);
|
||||
|
||||
#endif // __DEBUG_LUA_H__
|
Reference in New Issue
Block a user