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/19585] New: missed opportunity to speed up symbol reading


https://sourceware.org/bugzilla/show_bug.cgi?id=19585

            Bug ID: 19585
           Summary: missed opportunity to speed up symbol reading
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

I've been debugging recently where I run firefox and attach to it.
I simply reattach each time from the same gdb.
(I would re-run, but this isn't really possible in the scenario
I'm debugging.)

In this situation, each time I attach, gdb reads the debug info for
all the shared libraries used by the new inferior.  However, it just
discarded all that same data.

This could be made more efficient by noticing this situation and
just re-using the same objfiles, relocating them as necessary.
This would be significantly nicer for me as reading libxul is ~10
seconds, a very noticeable hiccup during development.

-- 
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]