]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 May 2011 15:13:38 +0000 (15:13 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 May 2011 15:13:38 +0000 (15:13 +0000)
commite1a64129dae1984e9d85044a3dcc019b82d53533
tree1a92774e59959386699fac3ddec8245436eaf833
parentf75828bea9898c2e2c023ea4388b31d77823c5d4
gdb/
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symtab.c
gdb/symtab.h
gdb/testsuite/ChangeLog