ARM: label SP and LR correctly
commit03c103d56a3937069a4a6abd02cffabe2f3a6641
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 2 Dec 2009 19:31:32 +0000 (2 11:31 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 2 Dec 2009 19:31:32 +0000 (2 11:31 -0800)
treec81b558b12c0d0b46417618dfa6d2bc8ba44a0b0
parentd84fead487b120774e18c03664a0a361616429fc
ARM: label SP and LR correctly

Except for USR/SYS mode, the labels for the shadowed SP and LR
registers were reversed.  LR is r14; SP is r13.  Fix.

This would not affect GDB users; GDB references are positional.
Only folk working directly with OpenOCD register values would
have noticed this bug.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/armv4_5.c