Dear all:
I have some questions about Openocd:
1. what are the differences between bp hw and bp sw?
   I know some cpu, like mips, have break assembly instruction.
   Does that mean if we use bp hw, the openocd will insert the "break"
assembly at the location we assign?

2. why we need to set length in bp command?
    does length mean range? like "bp 0xa0000000 16 ", openocd will set
0xa0000000~0xa0000010 as whole break range?
     or length mean instruction length?
3. can we do some constant steps?
    we can use "step" to execute 1 instruction, but is there any "step
10", which can let up execute 10 instructions?
4. why we cannot set break point in the branch slot?
    if I remember correctly, branch slot is the place that cpu may/may
not execute.But we still can set bp there, right?
    if cpu decide not to branch, it will execute that cmd and bp will
work, right?
appreciate your help,
miloody
appreciate your help,
mi
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to