Source-Changes-HG archive

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

[src/netbsd-7]: src/external/gpl3/gdb/dist/gdb Pull up following revision(s) ...



details:   https://anonhg.NetBSD.org/src/rev/e39248d53836
branches:  netbsd-7
changeset: 798717:e39248d53836
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Dec 16 16:18:21 2014 +0000

description:
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.

diffstat:

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

diffs (12 lines):

diff -r cd4b867f69f9 -r e39248d53836 external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Mon Dec 15 11:57:50 2014 +0000
+++ b/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Tue Dec 16 16:18:21 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