]> git.sur5r.net Git - openocd/commit
target: cortex_a: do not create new register cache every reset
authorPaul Fertser <fercerpav@gmail.com>
Fri, 6 Nov 2015 17:26:46 +0000 (20:26 +0300)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sat, 7 Nov 2015 20:36:56 +0000 (20:36 +0000)
commit408213f554be009a11023b987dd1158b966b06cb
tree7b057f4d0ad497e605488339ca79c3acfa52309c
parent987201c6dc4329c79057d6057a451e8e2c3568dc
target: cortex_a: do not create new register cache every reset

Commit 68101e67ac16bdead3bd6d48cbe0a2bfd63aac02 introduced a
regression which resulted for ever-growing registers list (as output
by "reg" command), its contents were doubled every reset (actually,
every examination).

Change-Id: Ie3409c795160a2fc840a5e8a892928df0bcc0c57
Reported-by: Daniele Emancipato <daniele12457@hotmail.com>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3100
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/cortex_a.c