Set up the compiler to ptrace the runtime (#107)

* set up the compiler to ptrace the runtime

* clang format

* move debugger state to a separate Debugger class

* support registers and break and continue

* documentation and fix windows

* make listener part of compiler, not a separate library

* implement memory read and write

* fix for windows
This commit is contained in:
water111
2020-10-31 14:07:43 -04:00
committed by GitHub
parent a45d180f2c
commit 0451a06d76
34 changed files with 1215 additions and 110 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ TEST(Kernel, PrintBuffer) {
clear_print();
cprintf("test!\n");
std::string result = PrintBufArea.cast<char>().c() + sizeof(GoalMessageHeader);
std::string result = PrintBufArea.cast<char>().c() + sizeof(ListenerMessageHeader);
EXPECT_EQ(result, "test!\n");
delete[] mem;