diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-06 15:27:42 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-06 15:27:42 -0600 |
| commit | b1761b8eac5777c09723bbc8cd31cc05d8ec35ae (patch) | |
| tree | a7a50591a1b5f9d7e26a7f6797a97d9ac213879a /tb/top | |
| parent | 064b72ae4eb22336438288a9664a37c0dd07f4bc (diff) | |
Implement breakpoints
Diffstat (limited to '')
| -rw-r--r-- | tb/top/conspiracion.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 15da2ea..96fd57f 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -379,6 +379,11 @@ int main(int argc, char **argv) { tick(); tick(); + + if(top.breakpoint) + { + top.halt = 1; + } }; if(!no_tty) @@ -481,7 +486,7 @@ int main(int argc, char **argv) const char *cmd = std::strtok(line, " "); if(!std::strcmp(cmd, "continue")) { - top.halt = false; + top.halt = 0; break; } else if(!std::strcmp(cmd, "dump-mem")) { |
