mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
* m68k-dis.c (print_insn_m68k): Emit undefined instructions as
.short directives so that they can be reassembled.
This commit is contained in:
parent
1e5b037994
commit
d8b24b9569
@ -1,3 +1,8 @@
|
||||
2010-05-27 jason Duerstock <jason.duerstock+binutils@gmail.com>
|
||||
|
||||
* m68k-dis.c (print_insn_m68k): Emit undefined instructions as
|
||||
.short directives so that they can be reassembled.
|
||||
|
||||
2010-05-26 Catherine Moore <clm@codesourcery.com>
|
||||
David Ung <davidu@mips.com>
|
||||
|
||||
|
@ -1626,7 +1626,7 @@ print_insn_m68k (bfd_vma memaddr, disassemble_info *info)
|
||||
|
||||
if (val == 0)
|
||||
/* Handle undefined instructions. */
|
||||
info->fprintf_func (info->stream, "0%o", (buffer[0] << 8) + buffer[1]);
|
||||
info->fprintf_func (info->stream, ".short 0x%04x", (buffer[0] << 8) + buffer[1]);
|
||||
|
||||
return val ? val : 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user