aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-10-27 05:31:16 +0000
committerAlan Modra <amodra@gmail.com>2005-10-27 05:31:16 +0000
commit95560129db4891eb3341c02aedb2087e99176a76 (patch)
treece5177c15a506533e892e3bc63a43a7162c27dc3 /bfd/ChangeLog
parent182a009999e52ae9e397fa0a628b52027b232e3d (diff)
downloadgdb-95560129db4891eb3341c02aedb2087e99176a76.zip
gdb-95560129db4891eb3341c02aedb2087e99176a76.tar.gz
gdb-95560129db4891eb3341c02aedb2087e99176a76.tar.bz2
PR 973
* cache.c (enum cache_flag): New. (close_one): Save file mtime. (bfd_cache_lookup): Add flag arg, adjust all users. (bfd_cache_lookup_worker): Likewise. (cache_btell): Use CACHE_NO_OPEN and return abfd->where if file not open. (cache_bflush): Similarly, and return success of file not open. (cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END. (cache_bstat): Use CACHE_NO_SEEK_ERROR.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b3b6906..a889592 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,16 @@
2005-10-27 Alan Modra <amodra@bigpond.net.au>
+ PR 973
+ * cache.c (enum cache_flag): New.
+ (close_one): Save file mtime.
+ (bfd_cache_lookup): Add flag arg, adjust all users.
+ (bfd_cache_lookup_worker): Likewise.
+ (cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
+ not open.
+ (cache_bflush): Similarly, and return success of file not open.
+ (cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
+ (cache_bstat): Use CACHE_NO_SEEK_ERROR.
+
* bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.