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/mips-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/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 7e94f20..02217cd 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -4878,7 +4878,7 @@ gdb_print_insn_mips (bfd_vma memaddr, struct disassemble_info *info) info->disassembler_options = "gpr-names=32"; /* Call the appropriate disassembler based on the target endian-ness. */ - if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG) + if (info->endian == BFD_ENDIAN_BIG) return print_insn_big_mips (memaddr, info); else return print_insn_little_mips (memaddr, info); |