for 0.10.0 add watchpoint

Open source ARM Debugger

Moderator: phalanx

for 0.10.0 add watchpoint

Postby 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: 46
Joined: Sun Dec 13, 2015 11:29 am

Re: for 0.10.0 add watchpoint

Postby 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: 46
Joined: Sun Dec 13, 2015 11:29 am

Re: for 0.10.0 add watchpoint

Postby fatalfeel » Tue Apr 04, 2017 2:54 am

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


Return to OpenOCD

Who is online

Users browsing this forum: No registered users and 2 guests