rem: dbg_add_command(&cmd_help, "help", "List all debugger commands"); dbg_add_command(&cmd_reboot, "reboot", "Reboot"); dbg_add_command(&cmd_gdb, "gdb", "Connect to remote gdb");
add: add_debugger_command("help", &cmd_help, "List all debugger commands"); add_debugger_command("reboot", &cmd_reboot, "Reboot"); add_debugger_command("gdb", &cmd_gdb, "Connect to remote gdb");
context: int dbg_init2(kernel_args *ka){	dbg_add_command(&cmd_help, "help", "List all debugger commands");	dbg_add_command(&cmd_reboot, "reboot", "Reboot");	dbg_add_command(&cmd_gdb, "gdb", "Connect to remote gdb");	return B_NO_ERROR;}