mirror of https://github.com/mgba-emu/mgba.git
Debugger: CLI debugger now exits when end-of-stream is reached
This commit is contained in:
parent
556a18a0d9
commit
e0e2d4a66e
1
CHANGES
1
CHANGES
|
@ -34,6 +34,7 @@ Misc:
|
|||
- Libretro: Disable logging game errors, BIOS calls and stubs in release builds
|
||||
- Qt: Canonicalize file paths when loading games
|
||||
- Qt: Add refresh button to controller editing
|
||||
- Debugger: CLI debugger now exits when end-of-stream is reached
|
||||
|
||||
0.4.0: (2016-02-02)
|
||||
Features:
|
||||
|
|
|
@ -774,6 +774,7 @@ static void _commandLine(struct ARMDebugger* debugger) {
|
|||
while (debugger->state == DEBUGGER_PAUSED) {
|
||||
line = el_gets(cliDebugger->elstate, &count);
|
||||
if (!line) {
|
||||
debugger->state = DEBUGGER_SHUTDOWN;
|
||||
return;
|
||||
}
|
||||
if (line[0] == '\n') {
|
||||
|
|
Loading…
Reference in New Issue