Hello all,
I have a problem with my board, I'm using a ARM7TDMI with custom D-cache 
& I-cache.
When I put a breakpoint in an one instruction loop gdb stop on bp but 
when I type 'cont' I have a 'UNDEFINED INSTRUCTION'.
So I made a procedure wich synchronize data, invalidate it and 
invalidate Instruction.
Thus when I stop on my bp I execute my procedure (everything looks good) 
and when I 'cont' the program run until end without error but it not 
stop on breakpoint on the loop, like if the bp was deleted.
I'm sure it have to work like that because I have made some test with a 
hardware breakpoint and it's work well.
I think this is because when I invalidate Instruction cache I erase 
breakpoint without commit it to ram, is it the reason ?
Anyone got an idea of how I can make it work properly ?
Thank's
Vivien

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to