OSDN Git Service

* dwarf2read.c (dwarf2_read_index): Only allow version 3.
authortromey <tromey>
Tue, 28 Sep 2010 03:42:35 +0000 (03:42 +0000)
committertromey <tromey>
Tue, 28 Sep 2010 03:42:35 +0000 (03:42 +0000)
commit25cacbdc5e0611dfc2ac974f31a80367a791bc1c
treef31fdb9140b3c0777721f3d158c5d4e4ee16daf8
parenta0ab0d830fdf677ae26beb91c91a6da1f5a77f58
* 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