]> git.sur5r.net Git - openocd/commit
ARM11: streamline debug entry
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 3 Dec 2009 06:57:07 +0000 (22:57 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 3 Dec 2009 07:08:42 +0000 (23:08 -0800)
commit6ec5b9c674489b4bd257c41142f100401c8d2025
tree09fe119d0a3ad56db9a1cb67fc5c8313a10e37fa
parent1d29440a9c6a7ceb933a4aa407387cc7d9f8bdb2
ARM11: streamline debug entry

Streamline arm11_on_enter_debug_state() entry:

 - It should handle the standard updates:
    * target->debug_reason
    * target->state

 - Don't waste time re-reading DSCR; just pass it in

Also rename the routine to "arm11_debug_entry()", matching the
convention used elsewhere in OpenOCD.
src/target/arm11.c