8be455d765
PR 12573 * dwarf2read.c (struct dwarf2_cu): New field has_loclist. (producer_is_gcc_ge_4_0): New function. (process_full_comp_unit): Set also symtab->locations_valid. Move the symtab->language code. (var_decode_location): Set cu->has_loclist. * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and skip. Intialize force_skip from locations_valid. Move the prologue skipping code into two passes. * symtab.h (struct symtab): Make the primary field a bitfield. New field locations_valid. gdb/testsuite/ PR 12573 * gdb.dwarf2/dw2-skip-prologue.S: New file. * gdb.dwarf2/dw2-skip-prologue.c: New file. * gdb.dwarf2/dw2-skip-prologue.exp: New file. |
||
---|---|---|
.. | ||
callframecfa.exp | ||
callframecfa.S | ||
dup-psym.exp | ||
dup-psym.S | ||
dw2-ada-ffffffff.exp | ||
dw2-ada-ffffffff.S | ||
dw2-anonymous-func.exp | ||
dw2-anonymous-func.S | ||
dw2-bad-parameter-type.exp | ||
dw2-bad-parameter-type.S | ||
dw2-basic.exp | ||
dw2-basic.S | ||
dw2-case-insensitive-debug.S | ||
dw2-case-insensitive.c | ||
dw2-case-insensitive.exp | ||
dw2-compressed.exp | ||
dw2-compressed.S | ||
dw2-const.exp | ||
dw2-const.S | ||
dw2-cp-infcall-ref-static-main.c | ||
dw2-cp-infcall-ref-static.exp | ||
dw2-cp-infcall-ref-static.S | ||
dw2-cu-size.exp | ||
dw2-cu-size.S | ||
dw2-double-set-die-type.exp | ||
dw2-double-set-die-type.S | ||
dw2-empty-namespace.exp | ||
dw2-empty-namespace.S | ||
dw2-empty-pc-range.exp | ||
dw2-empty-pc-range.S | ||
dw2-entry-value-main.c | ||
dw2-entry-value.exp | ||
dw2-entry-value.S | ||
dw2-filename.exp | ||
dw2-filename.S | ||
dw2-inheritance.exp | ||
dw2-inheritance.S | ||
dw2-inline-param-main.c | ||
dw2-inline-param.exp | ||
dw2-inline-param.S | ||
dw2-intercu.exp | ||
dw2-intercu.S | ||
dw2-intermix.exp | ||
dw2-intermix.S | ||
dw2-modula2-self-type.exp | ||
dw2-modula2-self-type.S | ||
dw2-noloc-main.c | ||
dw2-noloc.exp | ||
dw2-noloc.S | ||
dw2-op-call.exp | ||
dw2-op-call.S | ||
dw2-producer.exp | ||
dw2-producer.S | ||
dw2-ranges.c | ||
dw2-ranges.exp | ||
dw2-ranges2.c | ||
dw2-ranges3.c | ||
dw2-ref-missing-frame-func.c | ||
dw2-ref-missing-frame-main.c | ||
dw2-ref-missing-frame.exp | ||
dw2-ref-missing-frame.S | ||
dw2-restore.exp | ||
dw2-restore.S | ||
dw2-skip-prologue.c | ||
dw2-skip-prologue.exp | ||
dw2-skip-prologue.S | ||
dw2-stack-boundary.exp | ||
dw2-stack-boundary.S | ||
dw2-strp.exp | ||
dw2-strp.S | ||
dw2-unresolved-main.c | ||
dw2-unresolved.exp | ||
dw2-unresolved.S | ||
dw4-sig-types-b.cc | ||
dw4-sig-types.cc | ||
dw4-sig-types.exp | ||
dw4-sig-types.h | ||
file1.txt | ||
implptr.c | ||
implptr.exp | ||
implptr.S | ||
mac-fileno.exp | ||
mac-fileno.S | ||
main.c | ||
Makefile.in | ||
member-ptr-forwardref.exp | ||
member-ptr-forwardref.S | ||
pieces.c | ||
pieces.exp | ||
pieces.S | ||
pr10770.c | ||
pr10770.exp | ||
pr11465.exp | ||
pr11465.S | ||
valop.exp | ||
valop.S | ||
watch-notconst.c | ||
watch-notconst.exp | ||
watch-notconst2.c | ||
watch-notconst2.S |