diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-15 15:16:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-15 15:16:29 +0000 |
commit | 549c1eea94a2bf31384bd2921b056edf1300b679 (patch) | |
tree | d4446567f5164e8bcac968a0e6e175dc4339386f /gdb/symfile.c | |
parent | 0c0b39dee178eab76b410a9647225357384307f5 (diff) | |
download | gdb-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/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index a44c3cc..f1a5ecf 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1251,7 +1251,7 @@ symfile_bfd_open (char *name) error ("\"%s\": can't open to read symbols: %s.", name, bfd_errmsg (bfd_get_error ())); } - sym_bfd->cacheable = 1; + bfd_set_cacheable (sym_bfd, 1); if (!bfd_check_format (sym_bfd, bfd_object)) { |