2011-02-04 Ulrich Weigand <email address hidden>
Fix LP #711375
Backport from mainline:
2011-02-04 Ulrich Weigand <email address hidden>
gdb/
* dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
Complain about inverted range entries.
(dwarf2_record_block_ranges): Likewise.
2011-02-03 Ulrich Weigand <email address hidden>
Fix LP #616000
Backport from mainline:
2011-02-03 Ulrich Weigand <email address hidden>
gdb/
* arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
starts with __stack_chk_guard as stack guard symbol.
2011-02-03 Ulrich Weigand <email address hidden>
Fix LP #661253
Backport from mainline:
2011-02-02 Ulrich Weigand <email address hidden>
gdb/
* arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
arguments. Skip in-prologue calls to glibc __aeabi_read_tp
implementation even if no symbols are available.
(thumb_analyze_prologue): Update call to skip_prologue_function.
(arm_analyze_prologue): Likewise.
2011-02-02 Ulrich Weigand <email address hidden>
gdb/
* arm-tdep.c: Include "observer.h".
(arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
(arm_exidx_data_key): New static variable.
(struct arm_exidx_entry, arm_exidx_entry_s): New data types.
(struct arm_exidx_data): Likewise.
(arm_exidx_data_free): New function.
(arm_compare_exidx_entries): Likewise.
(arm_obj_section_from_vma): Likewise.
(arm_exidx_new_objfile): Likewise.
(arm_find_exidx_entry): Likewise.
(arm_exidx_fill_cache): Likewise.
(arm_exidx_unwind_sniffer): Likewise.
(arm_exidx_unwind): New global variable.
(arm_gdbarch_init): Append unwinder arm_exidx_unwind.
(_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
observer. Register arm_exidx_data_key as objfile data.
2011-02-03 Ulrich Weigand <email address hidden>
Fix LP #685494
Backport from mainline:
2011-01-19 Yao Qi <email address hidden>
gdb/testsuite/
* lib/dwarf.exp (dwarf2_support): Change supported targets to a
positve list.
2011-01-19 Yao Qi <email address hidden>
gdb/testsuite/
* gdb.asm/asm-source.exp: Replace ARM target triplet with a
canonical form.
Remove "xscale-*-*"
* gdb.xml/tdesc-regs.exp: Likewise.
* gdb.python/py-section-script.exp: Replace ARM target triplet
with canonical form.
Match arm*-*-symbianelf*.
* gdb.base/dup-sect.exp: Likewise.
* lib/dwarf.exp: New.
* gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
dwarf2_support.
* gdb.dwarf2/dup-psym.exp: Likewise.
* gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
* gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
* gdb.dwarf2/dw2-basic.exp: Likewise.
* gdb.dwarf2/dw2-compressed.exp: Likewise.
* gdb.dwarf2/dw2-cu-size.exp: Likewise.
* gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
* gdb.dwarf2/dw2-inheritance.exp: Likewise.
* gdb.dwarf2/dw2-intercu.exp: Likewise.
* gdb.dwarf2/dw2-intermix.exp: Likewise.
* gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
* gdb.dwarf2/dw2-noloc.exp: Likewise.
* gdb.dwarf2/dw2-op-call.exp: Likewise.
* gdb.dwarf2/dw2-producer.exp: Likewise.
* gdb.dwarf2/dw2-ranges.exp: Likewise.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
* gdb.dwarf2/dw2-strp.exp: Likewise.
* gdb.dwarf2/dw2-unresolved.exp: Likewise.
* gdb.dwarf2/mac-fileno.exp: Likewise.
* gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
* gdb.dwarf2/pieces.exp: Likewise.
* gdb.dwarf2/valop.exp: Likewise.
* gdb.dwarf2/watch-notconst.exp: Likewise.
2011-02-03 Ulrich Weigand <email address hidden>
Backport from mainline:
2011-02-02 Ulrich Weigand <email address hidden>
gdb/
* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
due to accessing uninitialized variable. Fix indentation.
2011-01-14 Yao Qi <email address hidden>
Fix the first fail in LP #615972
Backport from mainline:
2011-01-14 Yao Qi <email address hidden>
gdb/
* arm-tdep.c (arm_register_reggroup_p): FPS register is in
save_reggroup, restore_reggroup and all_reggroup.
2010-12-20 Yao Qi <email address hidden>
gdb/
* arm-tdep.c (arm_register_reggroup_p): New.
(arm_gdbarch_init): Set arm_register_reggroup_p for hook
register_reggroup_p.
2010-12-20 Yao Qi <email address hidden>
gdb/
* features/arm-core.xml: Add attribute type to reg from r0 to r12.
* features/arm-with-iwmmxt.c: Regenerate.
* features/arm-with-neon.c: Regenerate.
* features/arm-with-vfpv2.c: Regenerate.
* features/arm-with-vfpv3.c: Regenerate.
2010-12-29 Yao Qi <email address hidden>
Backport from mainline. Fix LP:616003.
gdb/
2010-12-23 Yao Qi <email address hidden>
* arm-tdep.c (arm_gdbarch_init): Remove invoke to
set_gdbarch_deprecated_fp_regnum.
2010-12-27 Yao Qi <email address hidden>
Handle -fstack-protector prologue code. Fix LP:616000
Backport from mainline:
2010-12-23 Yao Qi <email address hidden>
gdb/
* arm-tdep.c (thumb_analyze_prologue): Move some code ...
(EXTRACT_MOVW_MOVT_IMM_T): ... here. New macro.
(EXTRACT_MOVW_MOVT_IMM_A): New macro.
(arm_analyze_load_stack_chk_guard): New.
(arm_skip_stack_protector): New.
(arm_skip_prologue): Adjust post_prologue_pc by
arm_skip_stack_protector.
2010-12-14 Yao Qi <email address hidden>
Merge from FSF GDB 7.2. Fix LP:685702.
gdb/testsuite/
2010-12-14 Yao Qi <email address hidden>
Backport from mainline:
2010-09-02 Jan Kratochvil <email address hidden>
* gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
* (test_float_rejected): ... here.