* dwarf2read.c (dwarf2_read_index): Only allow version 3.
authorTom Tromey <tromey@redhat.com>
Mon, 27 Sep 2010 18:42:36 +0000 (18:42 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 27 Sep 2010 18:42:36 +0000 (18:42 +0000)
commit987d643c0ff6c0d79d092b92fcf33d28673326d8
tree4c5d698cda5973fbc186d17cbbe2a0beb81a720d
parentd3aff959354bb71f78f0f2077a3c1827452d24b3
* 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