Debugger: CLI debugger now exits when end-of-stream is reached
Jeffrey Pfau jeffrey@endrift.com
Mon, 06 Jun 2016 22:06:51 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -34,6 +34,7 @@ - GBA Video: Null renderer should return proper register values
- 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:
M
src/debugger/cli-debugger.c
→
src/debugger/cli-debugger.c
@@ -774,6 +774,7 @@ HistEvent ev;
while (debugger->state == DEBUGGER_PAUSED) { line = el_gets(cliDebugger->elstate, &count); if (!line) { + debugger->state = DEBUGGER_SHUTDOWN; return; } if (line[0] == '\n') {