aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-22 16:52:43 +0000
committerNick Clifton <nickc@redhat.com>2004-07-22 16:52:43 +0000
commited049af3bcb6edc330e449e215ca9622d992cf82 (patch)
tree55a30cd8ad1469b73558caf51fa6e63022724b02 /binutils
parent65da361f2b27c30b7af5a536743c3213245a4cd8 (diff)
downloadgdb-ed049af3bcb6edc330e449e215ca9622d992cf82.zip
gdb-ed049af3bcb6edc330e449e215ca9622d992cf82.tar.gz
gdb-ed049af3bcb6edc330e449e215ca9622d992cf82.tar.bz2
Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 683203f..7cc9640 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1407,6 +1407,7 @@ disassemble_bytes (struct disassemble_info * info,
for (j = addr_offset * opb; j < addr_offset * opb + pb; j += bpc)
{
int k;
+
if (bpc > 1 && info->display_endian == BFD_ENDIAN_LITTLE)
{
for (k = bpc - 1; k >= 0; k--)