X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libctf%2Fctf-open-bfd.c;h=1083c8760856d262e7f73a61e2203aa28e9486ea;hb=edc8bbe90b82f1fa4f3f261b5c97503867e9aba4;hp=6fbbde88529b333fe2abe01602d9795893a126b7;hpb=7e97445a5a4797ba580a58c99d9e16836aa41188;p=deliverable%2Fbinutils-gdb.git diff --git a/libctf/ctf-open-bfd.c b/libctf/ctf-open-bfd.c index 6fbbde8852..1083c87608 100644 --- a/libctf/ctf-open-bfd.c +++ b/libctf/ctf-open-bfd.c @@ -312,6 +312,7 @@ ctf_fdopen (int fd, const char *filename, const char *target, int *errp) bfd_errmsg (bfd_get_error())); return (ctf_set_open_errno (errp, ECTF_FMT)); } + bfd_set_cacheable (abfd, 1); if (!bfd_check_format (abfd, bfd_object)) {