Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/gdb print_insn_shl() in gnu/dist/toolchai...
details: https://anonhg.NetBSD.org/src/rev/dbb840146002
branches: trunk
changeset: 543756:dbb840146002
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Mon Mar 03 16:58:17 2003 +0000
description:
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
diffstat:
gnu/dist/toolchain/gdb/sh-tdep.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (16 lines):
diff -r ffce68b2bed3 -r dbb840146002 gnu/dist/toolchain/gdb/sh-tdep.c
--- a/gnu/dist/toolchain/gdb/sh-tdep.c Mon Mar 03 16:46:16 2003 +0000
+++ b/gnu/dist/toolchain/gdb/sh-tdep.c Mon Mar 03 16:58:17 2003 +0000
@@ -183,10 +183,8 @@
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.
Home |
Main Index |
Thread Index |
Old Index