diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-08 18:05:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-08 18:05:23 +0000 |
commit | ee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e (patch) | |
tree | 14a678eadecc06749cc47a19a33a951c57a3af2f /gdb | |
parent | 7af9851d0de86d091b53e15df22856f8b44a9131 (diff) | |
download | gdb-ee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e.zip gdb-ee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e.tar.gz gdb-ee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e.tar.bz2 |
2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
* rs6000-tdep.c (gdb_print_insn_powerpc): Set
info->disassembler_options to "any".
Diffstat (limited to 'gdb')
-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 |