diff options
author | Kung Hsu <kung@cygnus> | 1994-02-28 23:49:08 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1994-02-28 23:49:08 +0000 |
commit | 2f88343dbeab39a209f70b6f7dd9f6e80bb98a7c (patch) | |
tree | ed94fe589b63586957e864d6d9c462626265c70d /bfd/cache.c | |
parent | c8ff77bea3a9957c2299eb1f3121ddfca87c08c9 (diff) | |
download | gdb-2f88343dbeab39a209f70b6f7dd9f6e80bb98a7c.zip gdb-2f88343dbeab39a209f70b6f7dd9f6e80bb98a7c.tar.gz gdb-2f88343dbeab39a209f70b6f7dd9f6e80bb98a7c.tar.bz2 |
Modified Files:
ChangeLog targets.c Makefile.in cache.c
Added Files:
i386os9k.c
* i386os9k.c : new file to handle os9k format bfd.
* Makefile.in : Handle new file i386os9k.c
* bfd-in2.h : Add bfd_target_os9k_flavour.
* targets.c : Add bfd_target_os9k_flavour and i386os9k_vec.
* cache.c : Initialize cache_sentinel to 0.
Diffstat (limited to 'bfd/cache.c')
-rw-r--r-- | bfd/cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/cache.c b/bfd/cache.c index cefae72..c6b968a 100644 --- a/bfd/cache.c +++ b/bfd/cache.c @@ -60,7 +60,7 @@ bfd_cache_delete PARAMS ((bfd *)); static int open_files; -static bfd *cache_sentinel; /* Chain of BFDs with active fds we've +static bfd *cache_sentinel = 0; /* Chain of BFDs with active fds we've opened */ /* @@ -135,7 +135,7 @@ DEFUN(bfd_cache_delete,(abfd), else { ret = false; - bfd_error = system_call_error; + bfd_set_error (bfd_error_system_call); } snip (abfd); abfd->iostream = NULL; @@ -216,9 +216,9 @@ SYNOPSIS DESCRIPTION Call the OS to open a file for @var{abfd}. Return the <<FILE *>> - (possibly NULL) that results from this operation. Set up the + (possibly <<NULL>>) that results from this operation. Set up the BFD so that future accesses know the file is open. If the <<FILE *>> - returned is NULL, then it won't have been put in the + returned is <<NULL>>, then it won't have been put in the cache, so it won't have to be removed from it. */ |