diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 38ef25a..1f906a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> + + * rs6000-tdep.c (gdb_print_insn_powerpc): Set + info->disassembler_options to "any". + 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> * varobj.c (install_new_value): Only call value_get_print_value diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index d1ca594..cf9eefb 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2924,6 +2924,9 @@ find_variant_by_arch (enum bfd_architecture arch, unsigned long mach) static int gdb_print_insn_powerpc (bfd_vma memaddr, disassemble_info *info) { + if (!info->disassembler_options) + info->disassembler_options = "any"; + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) return print_insn_big_powerpc (memaddr, info); else |