target: xscale more human vector catching 56/1456/2
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 23 Jun 2013 21:17:55 +0000 (23:17 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 1 Jul 2013 08:44:59 +0000 (08:44 +0000)
commit12e25f34ebc9a62ac327d51229c32deda009addc
tree472148fb8cb84ad76ad5fec1e2423dbc11c6f8cc
parentffcfbb02152a6696e4e3e6cba359ec89ffd54739
target: xscale more human vector catching

Replace hexadecimal masks for vector catching with words
representing the caught exception, such as dabt for data
abort, etc ...
This way, the new xscale command is :
 - xscale vector_catch
   Reads back to the user the current vector catching status
 - xscale vector_catch reset dabt pabt
   Sets the caught vectors to data abort and prefetch abort
   for example.

This is mostly taken from Cortex-M3 openocd code.

Change-Id: I66591d5796f0e07f0f31edc8d28722e1e48aa8c5
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-on: http://openocd.zylin.com/1456
Tested-by: jenkins
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/xscale.c
src/target/xscale.h