diff options
-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); } |