Module Name: src Committed By: msaitoh Date: Tue Dec 16 16:18:21 UTC 2014
Modified Files: src/external/gpl3/gdb/dist/gdb [netbsd-7]: armnbsd-tdep.c Log Message: Pull up following revision(s) (requested by martin in ticket #315): external/gpl3/gdb/dist/gdb/armnbsd-tdep.c: revision 1.2 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.1.1.3.2.1 \ 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.1.1.3.2.1 --- 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 Tue Dec 16 16:18:21 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;