aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-15 15:16:29 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-15 15:16:29 +0000
commit549c1eea94a2bf31384bd2921b056edf1300b679 (patch)
treed4446567f5164e8bcac968a0e6e175dc4339386f /gdb/solib.c
parent0c0b39dee178eab76b410a9647225357384307f5 (diff)
downloadgdb-549c1eea94a2bf31384bd2921b056edf1300b679.zip
gdb-549c1eea94a2bf31384bd2921b056edf1300b679.tar.gz
gdb-549c1eea94a2bf31384bd2921b056edf1300b679.tar.bz2
2004-02-15 Andrew Cagney <cagney@redhat.com>
* solib.c (solib_map_sections): Use bfd_set_cacheable instead of poking .cacheable directly. * symfile.c (symfile_bfd_open): Ditto.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index baabf20..80f834f 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -250,7 +250,7 @@ solib_map_sections (void *arg)
/* Leave bfd open, core_xfer_memory and "info files" need it. */
so->abfd = abfd;
- abfd->cacheable = 1;
+ bfd_set_cacheable (abfd, 1);
/* copy full path name into so_name, so that later symbol_file_add
can find it */