]> sourceware.org Git - newlib-cygwin.git/commit
print_insn_sh cleanup:
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 17 May 2002 14:36:42 +0000 (14:36 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 17 May 2002 14:36:42 +0000 (14:36 +0000)
commit48251fa39f8d087e607f2e6ed1fc991566002fff
tree87c343b3b6d7e8638cc79c6ce0facff97c896220
parentd6dc98256cc93ef8da79c70ae73079659fcc7f8a
print_insn_sh cleanup:

include:
* dis-asm.h (print_insn_shl, print_insn_sh64l): Remove prototype.
gdb:
* sh-tdep.c (gdb_print_insn_sh64): Delete.
(gdb_print_insn_sh): Just set info->endian and use print_insn_sh.
(sh_gdbarch_init): Always use gdb_print_insn_sh.
opcodes:
* disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
* sh-dis.c (LITTLE_BIT): Delete.
(print_insn_sh, print_insn_shl): Deleted.
(print_insn_shx): Renamed to
(print_insn_sh).  No longer static.  Handle SHmedia instructions.
Use info->endian to determine endianness.
* sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
(print_insn_sh64x): No longer static.  Renamed to
(print_insn_sh64).  Removed pfun_compact and endian arguments.
If we got an uneven address to indicate SHmedia, adjust it.
Return -2 for SHcompact instructions.
sim/sh64:
* sim-if.c (sh64_disassemble_insn): Use  print_insn_sh instead of
print_insn_shl.
include/ChangeLog
include/dis-asm.h
This page took 0.035756 seconds and 5 git commands to generate.