ARM9TDMI: Fix segfault.
commit17fb7ead4b901f10c01c0824f594d91775b012b3
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 30 Dec 2009 18:43:56 +0000 (31 02:43 +0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 30 Dec 2009 19:51:29 +0000 (30 11:51 -0800)
tree54bdfde71196c00e7331c7a04c9fad7f78acfe84
parentc116d8f6bcb745ccc8fb8e6b562c8f22d54cd003
ARM9TDMI: Fix segfault.

The handler for "arm9tdmi vector_catch ..." did not check
if target has already been examined.  Without this fix it
segfaults when using NULL pointer "arm7_9->eice_cache".

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm9tdmi.c