toolchain: add new debugging tool using magenta_debug

This commit is contained in:
2026-06-06 17:54:20 +01:00
parent 5bb36a916c
commit a6bdcc6c49
40 changed files with 2211 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "command.h"
#include <stdio.h>
static int memory(
const struct command *cmd,
struct debug_context *ctx,
int argc,
const char **argv,
void *argp)
{
printf("inspect memory\n");
return 0;
}
const struct command cmd_memory = {
.cmd_name = "memory",
.cmd_callback = memory,
};