From 549c1eea94a2bf31384bd2921b056edf1300b679 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 15 Feb 2004 15:16:29 +0000 Subject: 2004-02-15 Andrew Cagney * solib.c (solib_map_sections): Use bfd_set_cacheable instead of poking .cacheable directly. * symfile.c (symfile_bfd_open): Ditto. --- gdb/symfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symfile.c') 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)) { -- cgit v1.1