diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-05-21 04:19:44 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-05-21 04:19:44 +0000 |
commit | f52cb1b84b03e4d5da175d69d2e32ff34a683cc7 (patch) | |
tree | bca834f3a1306c7cdbad263d3b02dc57b9892ace /gdb | |
parent | ebdf8c8c8ef8bd52a76d062bdf7c0fea4ca7afb0 (diff) | |
download | gdb-f52cb1b84b03e4d5da175d69d2e32ff34a683cc7.zip gdb-f52cb1b84b03e4d5da175d69d2e32ff34a683cc7.tar.gz gdb-f52cb1b84b03e4d5da175d69d2e32ff34a683cc7.tar.bz2 |
* score-tdep.c (score_print_insn): Get the current endianess from
disassemble_info instead of gdbarch_byte_order.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/score-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19cb11c..8de2d8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-05-21 Markus Deuling <deuling@de.ibm.com> + + * score-tdep.c (score_print_insn): Get the current endianess from + disassemble_info instead of gdbarch_byte_order. + 2008-05-21 Pedro Alves <pedro@codesourcery.com> * frame.c (get_prev_frame_1): Build frame id before setting diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c index 709e0fa..79be120 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -314,7 +314,7 @@ score_register_sim_regno (struct gdbarch *gdbarch, int regnum) static int score_print_insn (bfd_vma memaddr, struct disassemble_info *info) { - if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG) + if (info->endian == BFD_ENDIAN_BIG) return print_insn_big_score (memaddr, info); else return print_insn_little_score (memaddr, info); |