add: restore_interrupts(state);
context: kernel_debugger_loop(){	int argc;	struct debugger_command *cmd;	disable_interrupts();	dprintf("kernel debugger on cpu %d\n", smp_get_current_cpu());	debugger_on_cpu = smp_get_current_cpu();	for(;;) {		dprintf("kdebug> ");		debug_read_line(line_buf[cur_line], LINE_BUF_SIZE);		debug_parse_line(line_buf[cur_line], args, &argc, MAX_ARGS);		if (argc <= 0)			continue;		debugger_on_cpu = smp_get_current_cpu();		cmd = commands;		while (cmd != NULL) {			if (strcmp(args[0], cmd->name) == 0) {				cmd->func(argc, args);				break;			}			cmd = cmd->next;		}		if (cmd == NULL)			dprintf("unknown command, enter \"help\" to get a list of all supported commands\n");		cur_line++;		if (cur_line >= HISTORY_SIZE)			cur_line = 0;	}}