summaryrefslogtreecommitdiff
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
commitfda5681148a82a7f02d34181b3604fc9d033c742 (patch)
treea024c3705783effd3e76547e3c3dcc1516f2a80a /gdb/solib.c
parent8abb1c4d2ac61dc05296937860583cddac248209 (diff)
downloadgdb-fda5681148a82a7f02d34181b3604fc9d033c742.tar.gz
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 baabf20651c..80f834f1e0d 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 */