diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-02-20 14:34:43 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-02-20 14:34:43 +0000 |
commit | 40887e1a6e8bc0dfb421662f40c1a2c356c8b36d (patch) | |
tree | 85a92a0737da9b18922ae2714484f8c7a282b516 /gdb/rs6000-tdep.c | |
parent | ae4b228419367dd170acf7251a82413d890ad61a (diff) | |
download | gdb-40887e1a6e8bc0dfb421662f40c1a2c356c8b36d.zip gdb-40887e1a6e8bc0dfb421662f40c1a2c356c8b36d.tar.gz gdb-40887e1a6e8bc0dfb421662f40c1a2c356c8b36d.tar.bz2 |
* rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
from disassemble_info instead of gdbarch_byte_order.
* mips-tdep.c (gdb_print_insn_mips): Likewise.
* arm-tdep.c (gdb_print_insn_arm): Likewise.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 33c70f7..fc12619 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2929,7 +2929,7 @@ gdb_print_insn_powerpc (bfd_vma memaddr, disassemble_info *info) if (!info->disassembler_options) info->disassembler_options = "any"; - if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG) + if (info->endian == BFD_ENDIAN_BIG) return print_insn_big_powerpc (memaddr, info); else return print_insn_little_powerpc (memaddr, info); |