public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16229] New: ebfd_mtime and objfile::mtime are redundant
@ 2013-11-25 16:01 tromey at redhat dot com
  0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2013-11-25 16:01 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-25 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 16:01 [Bug gdb/16229] New: ebfd_mtime and objfile::mtime are redundant tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).