Hi Øyvind,
unfortunately during the last commit I have missed 16-bit instructions.

When I took a look at ARM code (arm7_9_common.c) I saw that they are
missing the re also (I guess target_buffer_get_u32()) was added after
to fix the issue, but
target_buffer_get_u16 was completely forgotten).

Here is a small patch for both ARM and MIPS that fix this issue (bot
32 and 16-bit instructions should be treated consistently)

BR,
Drasko


The following changes since commit bad3ee87ac170150a9a8a72c731aa631a1ad8cf5:
  Drasko DRASKOVIC (1):
        mips_m4k : Fix soft breakpoint endianess handling

are available in the git repository at:

  git://github.com/drasko/openocd.git master

Drasko DRASKOVIC (1):
      mips_m4k and arm7_9 : Fix soft bkpt endianess for 16-bit instructions

 src/target/arm7_9_common.c |    1 +
 src/target/mips_m4k.c      |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to