aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-14 03:15:28 +0000
committerAlan Modra <amodra@gmail.com>2001-11-14 03:15:28 +0000
commite396998b180f1f9b4dea47eef990f696d73cf940 (patch)
tree28af8cb3ac04140e306333d01b87978e4de65401 /opcodes/disassemble.c
parentd7dfd553d70967ef7384c7cf5b5474b8c4dc68c2 (diff)
downloadgdb-e396998b180f1f9b4dea47eef990f696d73cf940.zip
gdb-e396998b180f1f9b4dea47eef990f696d73cf940.tar.gz
gdb-e396998b180f1f9b4dea47eef990f696d73cf940.tar.bz2
binutils/ChangeLog
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index ef2756d..3a978d4 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -150,11 +150,7 @@ disassembler (abfd)
#endif
#ifdef ARCH_i386
case bfd_arch_i386:
- if (bfd_get_mach (abfd) == bfd_mach_i386_i386_intel_syntax
- || bfd_get_mach (abfd) == bfd_mach_x86_64_intel_syntax)
- disassemble = print_insn_i386_intel;
- else
- disassemble = print_insn_i386_att;
+ disassemble = print_insn_i386;
break;
#endif
#ifdef ARCH_i860