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/16229] New: ebfd_mtime and objfile::mtime are redundant


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

            Bug ID: 16229
           Summary: ebfd_mtime and objfile::mtime are redundant
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

ebfd_mtime and objfile::mtime are redundant now that
gdb has a BFD cache.  Also, some uses of these imply that
the BFD cache logic is spread around gdb -- that is, the
cache logic cannot simply be changed, instead all such spots
must be tracked down and changed as well.

One fix would be to add a new gdb_bfd_cached_mtime accessor
and then update the users.  Some spots, like reread_symbols,
could be changed to open a new BFD via the cache and see if
it has changed.

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