Closed cocus closed 3 years ago
Fine for me, just waiting @ghaerr feedback as he was the one who asked for multiple breakpoints.
Looks great, thank you @cocus!
I might add this feature into the stdio debug console, so we can write b <address>
. I think the 8 char buffer should be enouhg to hold a full logical address and two additional chars ('b' and ' ').
I might add this feature into the stdio debug console, so we can write
b <address>
.
That would be great!
Actually, it would be nice if the command line parameters which also are duplicated in debug console were handled by the same code, rather than duplicating it. Of course, the character used for the command line argument and the character used for the debug console may not be the same. Thus, I think even more reorganization in emu-main.c is needed.
I think the 8 char buffer should be enouhg to hold a full logical address and two additional chars ('b' and ' ').
Just increase the buffer size.
As a side effect, the step-over "next address breakpoint" gets another variable to store it, rather than reusing the main code breakpoint address.