for 0.10.0 add watchpoint

Open source ARM Debugger

Moderator: phalanx

Post Reply
fatalfeel
Posts: 47
Joined: Sun Dec 13, 2015 11:29 am

for 0.10.0 add watchpoint

Post by fatalfeel » Mon Mar 27, 2017 2:04 am

http://www.mediafire.com/file/33gyjer37 ... _v2.tar.gz

in eclipse

Add watchpoint:
monitor wp address sizeof(unit) r/w/a(read/write/access)
Ex:
monitor wp 0x8144be4c 4 a
monitor wp 0x8144be4c 4 w
monitor wp 0x8144be4c 4 r

fatalfeel
Posts: 47
Joined: Sun Dec 13, 2015 11:29 am

Re: for 0.10.0 add watchpoint

Post by fatalfeel » Mon Mar 27, 2017 10:54 pm

/root/openocd-0.10.0/src/target/arm_dpm.c
and
/root/openocd-0.10.0/src/target/cortex_a.h
and
/root/openocd-0.10.0/src/target/cortex_a.c

here is my source
http://www.mediafire.com/file/33gyjer37 ... _v2.tar.gz

Add watchpoint:
monitor wp address unit_size(1/2/4) r/w/a(read/write/access)

after hit watchpoint need remove

Remove watchpoint:
monitor rwp address

fatalfeel
Posts: 47
Joined: Sun Dec 13, 2015 11:29 am

Re: for 0.10.0 add watchpoint

Post by fatalfeel » Tue Apr 04, 2017 2:54 am


Post Reply