Message ID | 1413853021-4393-4-git-send-email-victor.kamensky@linaro.org |
---|---|
State | New |
Headers | show |
Victor Kamensky <victor.kamensky@linaro.org> writes: > diff --git a/gdb/ChangeLog b/gdb/ChangeLog > index 2aef5dc..c32fb3f 100644 > --- a/gdb/ChangeLog > +++ b/gdb/ChangeLog > @@ -1,5 +1,10 @@ > 2014-10-13 Victor Kamensky <victor.kamensky@linaro.org> > > + * arm-tdep.c: (extract_arm_insn): use dbarch_byte_order_for_code > + to read arm instruction. The file and function name in the changelog entry is wrong. The description of each entry is a sentence, so the first letter should be capitalized. * arm-linux-tdep.c (arm_linux_init_abi): Use gdbarch_byte_order_for_code to read arm instruction. Otherwise, it looks good to me.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2aef5dc..c32fb3f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-10-13 Victor Kamensky <victor.kamensky@linaro.org> + * arm-tdep.c: (extract_arm_insn): use dbarch_byte_order_for_code + to read arm instruction. + +2014-10-13 Victor Kamensky <victor.kamensky@linaro.org> + * arm-tdep.c (extract_arm_insn): use dbarch_byte_order_for_code to read arm instruction. diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index e3587f3..2e79658 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -1361,7 +1361,7 @@ arm_linux_init_abi (struct gdbarch_info info, linux_init_abi (info, gdbarch); tdep->lowest_pc = 0x8000; - if (info.byte_order == BFD_ENDIAN_BIG) + if (info.byte_order_for_code == BFD_ENDIAN_BIG) { if (tdep->arm_abi == ARM_ABI_AAPCS) tdep->arm_breakpoint = eabi_linux_arm_be_breakpoint;