diff --git a/nemu/flake.nix b/nemu/flake.nix index 3ecac03..95ec4cb 100644 --- a/nemu/flake.nix +++ b/nemu/flake.nix @@ -19,6 +19,7 @@ packages = [ clang-tools rnix-lsp + bear gdb jre diff --git a/nemu/src/monitor/sdb/sdb.c b/nemu/src/monitor/sdb/sdb.c index 330d199..725bce8 100644 --- a/nemu/src/monitor/sdb/sdb.c +++ b/nemu/src/monitor/sdb/sdb.c @@ -49,7 +49,7 @@ static int cmd_c(char *args) { static int cmd_q(char *args) { - return 0; + return -1; } static int cmd_help(char *args);