This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13498] save-index makes gdb slow with dwarf4
- From: "l.lunak at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 21 Feb 2012 18:14:25 +0000
- Subject: [Bug gdb/13498] save-index makes gdb slow with dwarf4
- Auto-submitted: auto-generated
- References: <bug-13498-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13498
--- Comment #10 from LuboÅ LuÅÃk <l.lunak at suse dot cz> 2012-02-21 18:14:25 UTC ---
I've tried current gdb CVS with the patch mentioned here, and it looks like the
problems caused by the index have been fixed by it, so I guess this bugreport
can be closed.
Attaching gdb to LibreOffice Writer and doing 'break sha<tab>' is still awfully
slow with dwarf-4 though, roughly 30 seconds on a rather fast machine (it
appears the time is spent in dwarf2_psymtab_to_symtab() and below). That is
however with or without the index. With dwarf-2 it is almost instant, but the
difference is that with dwarf-2 the completion list does not include template
instances, which is a majority of the completions. I find this still
unacceptable for dwarf-4 to be usable with something the size LibreOffice.
--
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.