]> git.sur5r.net Git - openocd/commit
ARM7_9: Fix segfaults
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 30 Dec 2009 23:13:16 +0000 (07:13 +0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 31 Dec 2009 00:58:27 +0000 (16:58 -0800)
commit3ed254c18aa7fc24cbc692433729ec3819fc5537
tree9da912a4f5042d5eb7f97d9100ca0dfa3fc3c24d
parent7c5acf8660ddfce4746152e03749b699532f513f
ARM7_9: Fix segfaults

Handlers for commands
 - arm7_9 semihosting <enable | disable>
 - $_TARGETNAME arp_reset assert 1
didn't check if target has already been examined, and could
segfault when using the 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/arm7_9_common.c
src/target/target.c