I'm submitting this for Jim Wilson. It is a revised patch
of the one submitted by Miles Bader for GDB PR #870.
I have verified it applies cleanly to the current CVS head and
seems to fix the problems it claims. There are no testsuite regressions.
2003-01-08 Miles Bader <miles at gnu dot org>
Jim Wilson <wilson at redhat dot com>
* v850-tdep.c (v850_scan_prologue): Handle six byte instructions.
Correctly sign-extend insn2. Use insn2 as well as insn to recognize
insns where appropriate (some insns only differ in the second 16-bit
word). Handle mov imm5,r12 and mov imm32,r12.