aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-02-20 14:34:43 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-02-20 14:34:43 +0000
commit40887e1a6e8bc0dfb421662f40c1a2c356c8b36d (patch)
tree85a92a0737da9b18922ae2714484f8c7a282b516 /gdb/arm-tdep.c
parentae4b228419367dd170acf7251a82413d890ad61a (diff)
downloadgdb-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/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index b8b7c84..1cac2fb 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -2018,7 +2018,7 @@ gdb_print_insn_arm (bfd_vma memaddr, disassemble_info *info)
else
info->symbols = NULL;
- if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG)
+ if (info->endian == BFD_ENDIAN_BIG)
return print_insn_big_arm (memaddr, info);
else
return print_insn_little_arm (memaddr, info);