summaryrefslogtreecommitdiff
path: root/src/core/commands.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-27 11:48:36 +0100
committertaitep <taitep@taitep.se>2025-12-27 11:48:36 +0100
commit9f8e9ec380ad679fe714222345a46ebf77d063d6 (patch)
treebe4a990b220e52c9fcbd5c0abc95b45e2246d73c /src/core/commands.rs
parenta64fcaa3b557d3e7f611f3997a0b4c6990347d9b (diff)
Implement a GDB stub and fix another huge issue in S-type immediate decoding
Diffstat (limited to 'src/core/commands.rs')
-rw-r--r--src/core/commands.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/commands.rs b/src/core/commands.rs
new file mode 100644
index 0000000..93bdd1e
--- /dev/null
+++ b/src/core/commands.rs
@@ -0,0 +1,7 @@
+use std::sync::mpsc;
+
+use crate::gdb;
+
+pub enum CoreCmd {
+ EnterDbgMode(mpsc::Receiver<gdb::DebugCommand>),
+}