OSDN Git Service

* dwarf2read.c (dwarf2_read_index): Only allow version 3.
authortromey <tromey>
Mon, 27 Sep 2010 18:42:35 +0000 (18:42 +0000)
committertromey <tromey>
Mon, 27 Sep 2010 18:42:35 +0000 (18:42 +0000)
commit8e415e98d4e4422276c9d9fe8b563ffca36c8965
tree80cab1886661f1112580880d5ebf08684f5064a4
parent3fcef9da44526854a3d3acaad86565f405d3e4d7
* dwarf2read.c (dwarf2_read_index): Only allow version 3.
(write_psymbols): Add 'psyms_seen' and 'is_static' arguments.
Only emit a given psymbol once.
(struct signatured_type_index_data) <psyms_seen>: New field.
(write_one_signatured_type): Update.
(cleanup_htab): New function.
(write_psymtabs_to_index): Update.  Create psyms_seen hash.  Bump
version to 3.
(save_gdb_index_command): Update index documentation.
gdb/ChangeLog
gdb/dwarf2read.c