Hi,
Am 28.02.2013 21:17, schrieb Jonathan Dumaresq:
> Hi all,
> 
> I try to find a problem in our code. And I wonder if I can use a sort of
> dynamic watchpoint. 
> 
> Like __asm("BKPT #0\n").
> 
> Is there an opcode that I can use to set and remove a watchpoint on a
> cortex-M4 ?

I might have missed something, but you can use gdb to set watchpoints -
halting your program when a specific memory location is read or written to.

Just don't ask me how the commands are - I use Eclipse as the frontend
and can set watchpoints in there.

-- Jörg Fischer



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to