Open gurcei opened 8 years ago
from memory the fpga-side serial-debugger is tightly integrated with the cpu-core. i would prefer a more significant seperation between the two (if possable). in this regard, if/when the seperation occurs, your work in the m65dbg for breakpoints may need repairs. all good for now though..
Yep, fair enough. I was foreseeing a bit of repair ahead with the recent discussions about refining the comms protocol, so I'll do my best to keep m65dbg commands working nicely with any changes on the hardware.
I'm not sure that further separation is possible, while still maintaining the functionality, and without adding additional hardware cost, or slowing the interface down. I'm open to suggestions as to how we might improve it, though.
On Wed, Aug 10, 2016 at 11:16 PM, Ben-401 notifications@github.com wrote:
from memory the fpga-side serial-debugger is tightly integrated with the cpu-core. i would prefer a more significant seperation between the two (if possable). in this regard, if/when the seperation occurs, your work in the m65dbg for breakpoints may need repairs. all good for now though..
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MEGA65/m65dbg/issues/7#issuecomment-238871246, or mute the thread https://github.com/notifications/unsubscribe-auth/AAonT5N5QuDFT6Ey8pGplnw6_O0BYLJgks5qedY0gaJpZM4JfgjJ .
Some progress has been made with software breakpoints inside m65dbg. It evolved out of necessity of my debugging needs at the time, so I forgot all about the thoughts we had here.
Presently, it is just a single software breakpoint that can be set with "sbreak
Another nice shortcut way to do both in one hit is to say "sc
I won't close this ticket for now though, as I might come back to the thoughts here, and the ideas of supporting multiple breakpoints.
Let the app auto-step through code and stop upon hitting one of a list of software breakpoints the user has added.
For software breakpoint support:
As for the hardware breakpoint support, I'll consider doing it this way: