]> git.sur5r.net Git - openocd/commit
mips_m4k and arm7_9 : Fix soft bkpt endianess for 16-bit instructions
authorDrasko DRASKOVIC <drasko.draskovic@gmail.com>
Mon, 4 Jul 2011 10:55:00 +0000 (12:55 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 4 Jul 2011 16:15:18 +0000 (18:15 +0200)
commitac43d7a69fca52df1ad287b51c44013653ad2f61
tree58fd0de0ae768bd45153bdd1f030ff613a3d839e
parentd4cd6f032015552f00bf4b5a90f25f5f958e9d9e
mips_m4k and arm7_9 : Fix soft bkpt endianess for 16-bit instructions

The patch fix comparison of target data on the host by using
target_buffer_get_u16() to transform current_instr to
_host_ endianess before comparison.
src/target/arm7_9_common.c
src/target/mips_m4k.c