This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/14125] Performance issue with .gdb_index and largenumbers of shared libs


http://sourceware.org/bugzilla/show_bug.cgi?id=14125

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-06-23 22:23:53 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    devans@sourceware.org    2012-06-23 22:23:48

Modified files:
    gdb            : ChangeLog NEWS dwarf2read.c 
    gdb/doc        : ChangeLog gdb.texinfo 

Log message:
    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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14390&r2=1.14391
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.527&r2=1.528
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.665&r2=1.666
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1333&r2=1.1334
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.978&r2=1.979

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]