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 gdb/12332] Provide efficient source lookup for use by IDE


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.


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