2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
authorDaniel Jacobowitz <drow@false.org>
Thu, 8 Feb 2007 18:05:23 +0000 (18:05 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 8 Feb 2007 18:05:23 +0000 (18:05 +0000)
* rs6000-tdep.c (gdb_print_insn_powerpc): Set
info->disassembler_options to "any".

gdb/ChangeLog
gdb/rs6000-tdep.c

index 38ef25aa339163d165149336da48065c8a8eecd5..1f906a153a80b4fa4fe3a9554ca09a1e8b4600d4 100644 (file)
@@ -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
index d1ca5947fa0c91022339a15ebff93b312248fc54..cf9eefb248415718cc46458d903c4d54af48afb0 100644 (file)
@@ -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