This is the mail archive of the gdb-patches@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]

Re: gnulib stat problem


Tom> Maybe gdb could *only* use bfd_get_mtime when it matters.  This would
Tom> mean changing gdb_bfd_open to create a BFD before checking the cache,
Tom> but maybe that's not very expensive.

I implemented this.  This approach seems pretty nice.

Also, I discovered that bfd_stat exists, which means we could also put
target BFDs into the cache -- currently we only put local ones there.
So, this seems like another plus (though I haven't implemented this
caching yet), and provides an additional reason to go this route.

Tom


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