duane>> And associated configure commands at the generic target level to 
configure this manually?

Freddie> But if the distinction is related only to memory type (flash/RAM) 
there is no need for a new commands - OpenOCD knows where the flash is…

I don’t see where OpenOCD knows this.

As I remember GDB - is the one who knows this, it determines this based on the 
xml/memory-map that it gets from OpenOCD.

But there is no means to set that dynamically, or any code that I can find that 
test an address map and returns a breakpoint type.
There are many places the code “tests for the breakpoint type” - 
but no where do I see it determine the breakpoint type other then the cortex_m 
code
I see some places where the BKPT type is converted (i.e.: MIPS has an auto 
convert feature)
there is an gdb override … 

But nothing about testing address ranges.

-Duane.



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to