]> git.sur5r.net Git - openocd/commit
ARM: fix target address when disassembling Thumb BLX
authorNicolas Pitre <nico@fluxnic.net>
Wed, 28 Oct 2009 01:19:42 +0000 (21:19 -0400)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 28 Oct 2009 02:25:54 +0000 (19:25 -0700)
commit39dd68bca649e9275c602fa212f448ae8497f306
tree2aad3e9e4d6ddf5d515ce3b74cfffc76aace99ed
parent993fe4ab633eff4f04dd63e4751ccc2a6ea2d52e
ARM: fix target address when disassembling Thumb BLX

A Thumb BLX instruction is branching to ARM code, and therefore the
first 2 bits of the target address must be cleared.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_disassembler.c