Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Fix byte order selection for brea...



details:   https://anonhg.NetBSD.org/src/rev/c49204097536
branches:  trunk
changeset: 805013:c49204097536
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Dec 12 20:25:35 2014 +0000

description:
Fix byte order selection for breakpoints: on arm the byte order for code
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.

diffstat:

 external/gpl3/gdb/dist/gdb/armnbsd-tdep.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 956f263878db -r c49204097536 external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Fri Dec 12 19:36:22 2014 +0000
+++ b/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Fri Dec 12 20:25:35 2014 +0000
@@ -43,7 +43,7 @@
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
 
   tdep->lowest_pc = 0x8000;
-  switch (info.byte_order)
+  switch (info.byte_order_for_code)
     {
     case BFD_ENDIAN_LITTLE:
       tdep->arm_breakpoint = arm_nbsd_arm_le_breakpoint;



Home | Main Index | Thread Index | Old Index