diff options
author | Doug Evans <dje@google.com> | 2013-08-01 23:35:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-08-01 23:35:04 +0000 |
commit | ec94af83262061ee559ed6a7d575dd6d81cda3af (patch) | |
tree | 7b896422e70ce72469be9c6704ff1f22c69608bb /gdb/symtab.h | |
parent | df34fbcce872115ccb78a8a7652e3c413b63677d (diff) | |
download | gdb-ec94af83262061ee559ed6a7d575dd6d81cda3af.zip gdb-ec94af83262061ee559ed6a7d575dd6d81cda3af.tar.gz gdb-ec94af83262061ee559ed6a7d575dd6d81cda3af.tar.bz2 |
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.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index c735e16..a95a9cf 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -936,6 +936,10 @@ struct symtab #define BLOCKVECTOR(symtab) (symtab)->blockvector #define LINETABLE(symtab) (symtab)->linetable #define SYMTAB_PSPACE(symtab) (symtab)->objfile->pspace + +typedef struct symtab *symtab_ptr; +DEF_VEC_P (symtab_ptr); + /* The virtual function table is now an array of structures which have the |