]> git.gag.com Git - fw/openocd/commit
target: use proper macro for parsing watchpoint address
authorPeter Mamonov <pmamonov@gmail.com>
Mon, 12 Oct 2020 12:02:44 +0000 (15:02 +0300)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 13 Feb 2021 13:08:31 +0000 (13:08 +0000)
commit54ef790149918df40e6bc2220ffd52ade1b9669b
treef447ad3f92f670480d03d59a38727faa710ca78c
parent84a2302af790d28f5dd7e03620703710300305f1
target: use proper macro for parsing watchpoint address

Currently wp/rwp commands fail on 64-bit targets:

> wp 0xffffffff80001400 4
addr option value ('0xffffffff80001400') is not valid

Change-Id: I94d4af906b02b7bd463c8d79a6235a3646dfc434
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Reviewed-on: http://openocd.zylin.com/6058
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/target.c