commit | c6b4f7e34ea1bad432d59c7cff283dfb08e398d1 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Aug 09 16:36:36 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Aug 09 16:36:36 2020 -0700 |
tree | c8576c21dfc7624a1c11ed831db360c70e2755b4 | |
parent | b04a40263ced274594076186d9dc2783da6bd2e8 [diff] [blame] |
Multithread debugger and emulator with message queues
diff --git a/dbg.h b/dbg.h index c31c1c3..67f082d 100644 --- a/dbg.h +++ b/dbg.h
@@ -2,4 +2,9 @@ #include "cpu.h" -void debug(cpu_t *cpu); +#include <stdbool.h> +#include <mqueue.h> + +bool debug_stmt(cpu_t *cpu, char *input, bool *running); +// void debug_prompt(mqd_t mq, cpu_t *cpu); +pthread_t start_debug_prompt(mqd_t mq, cpu_t *cpu); \ No newline at end of file