Further workarounds for binutils/15021.
authorDoug Evans <dje@google.com>
Thu, 1 Aug 2013 23:35:04 +0000 (23:35 +0000)
committerDoug Evans <dje@google.com>
Thu, 1 Aug 2013 23:35:04 +0000 (23:35 +0000)
commitec94af83262061ee559ed6a7d575dd6d81cda3af
tree7b896422e70ce72469be9c6704ff1f22c69608bb
parentdf34fbcce872115ccb78a8a7652e3c413b63677d
Further workarounds for binutils/15021.
* dwarf2read.c (recursively_compute_inclusions): Change type of result
parameter to VEC (symtab_ptr) **.  New parameter all_type_symtabs.
Watch for duplicate symtabs coming from type units.
(compute_symtab_includes): Update call to
recursively_compute_inclusions. Build vector of included symtabs
instead of per_cus.
* symtab.h (symtab_ptr): New typedef.
(DEF_VEC_P (symtab_ptr)): New VEC type.
* linespec.c (symtab_p): Delete.  All uses updated to use symtab_ptr
instead.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/linespec.c
gdb/symtab.h