Hi, In the original patch we substituted the pc with the npc value while flushing the pipe after a dbg_stall disassertion. This doesn't work everytime because npc might not be always equal the the bp address.
In this patch, we save the npc content when the dbg_stall occurs (saved_npc). This value will be used to set the pc after a dbg_stall disassertion. BTW, I finally submitted the openocd OpenRISC port (http://openocd.zylin.com/#/c/1547/). It has been a long road before required changes were applied.... I'll post some informations on the openocd tcl configuration files very soon. As a matter of fact, as we can choose which cores to use, there is some new configurations commands (see here: https://github.com/Franck79/openOCD/blob/auto_tdesc/or1k_usb_blaster_adv.tcl). Franck.
fix_patch_svn_859.patch
Description: Binary data
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
