On Tue, Feb 28, 2012 at 8:21 AM, Steve Battazzo <[email protected]> wrote: > Hello all, > > We seem to be having a strange issue with OpenOCD. For some reason, the step > single instruction is not working properly for us on branch instructions, > and it is simply incrementing the program counter by one and stepping to the > next stored instruction. > > Has anybody experienced this behavior?
Hi Steve, I'd be interested to see the debug log of what's going on there. Do you think you could turn on debugging (I think with "-d 3" .. you'll get a lot of stuff) and put it into a pastebin or into a file? Just show where you're attempting to single step. I'm pretty sure I got that working. It may be interesting to simulate single stepping the system to check the RTL is working. But if it's been working with the older proxy then perhaps it's OpenOCD but I'm pretty sure I put in the same behaviour as was in the old proxy program. Have you ever seen it working via OpenOCD? Do software breakpoints work? Cheers, Jules _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
