mirror of
https://github.com/simh/simh.git
synced 2026-01-13 23:35:57 +00:00
SCP: Tolerate sim_instr() return when last debug is missing a newline
This commit is contained in:
parent
7e19679c93
commit
344e24dcbb
1
scp.c
1
scp.c
@ -12272,6 +12272,7 @@ while ((eol = strchr (debug_line_buf, '\n')) || flush) {
|
||||
debug_line_count = 0;
|
||||
}
|
||||
else {
|
||||
linesize = debug_line_offset;
|
||||
if (debug_line_count == 0) {
|
||||
debug_line_buf_last_endprefix_offset = endprefix - debug_line_buf;
|
||||
memcpy (debug_line_buf_last, debug_line_buf, linesize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user