Module Name: src
Committed By: martin
Date: Fri Dec 12 20:25:35 UTC 2014
Modified Files:
src/external/gpl3/gdb/dist/gdb: armnbsd-tdep.c
Log Message:
Fix byte order selection for breakpoints: on arm the byte order for code
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.1.1.3 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.2
--- src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.1.1.3 Sun Jun 22 23:40:55 2014
+++ src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Fri Dec 12 20:25:35 2014
@@ -43,7 +43,7 @@ arm_netbsd_init_abi_common (struct gdbar
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;