Re: Unreliable BFD caching heuristic

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 11/21/2013 05:39 PM, Luis Machado wrote:
> Do you have any proposals on ways to improve this heuristic?

Compare st_ino/st_dev, and don't share if the system doesn't
provide meaningful bfd_stat data?

symfile.c:separate_debug_file_exists does this already,
and then does a CRC check if all else fails.  Not sure
whether the CRC part would be a good idea here.

-- 
Pedro Alves
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.