diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-03-17 19:32:56 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-03-17 19:32:56 +0000 |
commit | 1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8 (patch) | |
tree | bef3545206872a68aaed0bd3697e22bc62c6c2d6 | |
parent | 46bba1eff5c5b070fa43cf952e06b3b9b34cbcc2 (diff) | |
download | fsf-binutils-gdb-1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8.zip fsf-binutils-gdb-1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8.tar.gz fsf-binutils-gdb-1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8.tar.bz2 |
* i386-tdep.c (i386_print_insn): Remove unnecessary call to
gdbarch_bfd_arch_info.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d94d7cf..b28267e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-03-17 Markus Deuling <deuling@de.ibm.com> + + * i386-tdep.c (i386_print_insn): Remove unnecessary call to + gdbarch_bfd_arch_info. + 2008-03-17 Joel Brobecker <brobecker@adacore.com> * aix-thread.c (pdc_read_regs): Minor reformatting. diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index dc21706..9215a52 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2138,7 +2138,6 @@ i386_print_insn (bfd_vma pc, struct disassemble_info *info) /* FIXME: kettenis/20020915: Until disassembler_options is properly constified, cast to prevent a compiler warning. */ info->disassembler_options = (char *) disassembly_flavor; - info->mach = gdbarch_bfd_arch_info (current_gdbarch)->mach; return print_insn_i386 (pc, info); } |