mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-20 02:17:23 +00:00
debugger: Fix handling of empty commands.
An empty command should not be reported as an unknown command. An empty command should not repeat an unknown command.
This commit is contained in:
@@ -756,8 +756,10 @@ void enter_debugger() {
|
||||
via_obj->assert_int(irq_bit);
|
||||
#endif
|
||||
} else {
|
||||
cout << "Unknown command: " << cmd << endl;
|
||||
continue;
|
||||
if (!cmd.empty()) {
|
||||
cout << "Unknown command: " << cmd << endl;
|
||||
cmd = "";
|
||||
}
|
||||
}
|
||||
last_cmd = cmd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user