print_insn_shl() in gnu/dist/toolchain/opcodes/sh-dis.c has been merged

into print_insn_sh(), and print_insn_sh() now checks info->endian
so set it accordingly.

Based on diff from the Sourceware gdb cvsweb:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sh-tdep.c.diff?r1=1.59&r2=1.60&cvsroot=src
This commit is contained in:
tsutsui 2003-03-03 16:58:17 +00:00
parent bc724094e3
commit f2ff066472

View File

@ -183,10 +183,8 @@ gdb_print_insn_sh (memaddr, info)
bfd_vma memaddr;
disassemble_info *info;
{
if (TARGET_BYTE_ORDER == BIG_ENDIAN)
return print_insn_sh (memaddr, info);
else
return print_insn_shl (memaddr, info);
info->endian = TARGET_BYTE_ORDER;
return print_insn_sh (memaddr, info);
}
/* Given a GDB frame, determine the address of the calling function's frame.