This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12332] Provide efficient source lookup for use by IDE
- From: "marc.khouzam at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 11 Mar 2011 21:07:51 +0000
- Subject: [Bug gdb/12332] Provide efficient source lookup for use by IDE
- Auto-submitted: auto-generated
- References: <bug-12332-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12332
--- Comment #3 from Marc Khouzam <marc.khouzam at ericsson dot com> 2011-03-11 21:07:36 UTC ---
(In reply to comment #2)
> The slowness manifests itself with just a few breakpoints. I don't remember how
> many breakpoints I had in my experiment, but it was definitely less than 5.
That is right. The slowness is when there are many paths given to
-environment-directory. I was told that in a particular case, there were 8800
paths! With this, setting a single breakpoint takes so much time that the user
things Eclipse/GDB is hung.
My guess is that GDB has to run through all the directories of
-environment-directory and look for the file where the breakpoint has been set.
That probably takes a lot of time.
Note that this happens even if the breakpoint is set using a absolute path.
--
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.