PR 14125
authorDoug Evans <dje@google.com>
Sat, 23 Jun 2012 22:23:47 +0000 (22:23 +0000)
committerDoug Evans <dje@google.com>
Sat, 23 Jun 2012 22:23:47 +0000 (22:23 +0000)
commit156942c7d192e742f3b8cadd132d0a6ded28ebbd
tree924acee73ed1fe6b969b011fca48f3514bbed5ad
parent0d8b534dde845ba3fedd5c5a3f74f61c696e2a87
PR 14125
* NEWS: Document additions to .gdb_index.
* dwarf2read.c: #include "gdb/gdb-index.h".
(DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
(DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
(DW2_GDB_INDEX_CU_SET_VALUE): New macro.
(dwarf2_read_index): Recognize version 7.
(dw2_do_expand_symtabs_matching): New args want_specific_block,
block_kind, domain): All callers updated.
(dw2_find_symbol_file): Handle new index CU values.
(dw2_expand_symtabs_matching): Match symbol kind if requested.
(add_index_entry): New args is_static, kind.  All callers updated.
(offset_type_compare, uniquify_cu_indices): New functions
(symbol_kind): New function.
(write_psymtabs_to_index): Remove duplicate CU values.
(write_psymtabs_to_index): Write .gdb_index version 7.

doc/
* gdb.texinfo (Index Section Format): Document version 7 format.

include/gdb/
* gdb-index.h: New file.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/dwarf2read.c
include/gdb/ChangeLog
include/gdb/gdb-index.h [new file with mode: 0644]