gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / osf-core.c
index 87cebc625d9f1b14716fe1ca4dceff84c09bde3a..3f384e7bd404a734fa3899a8970bd88488fdc2a3 100644 (file)
@@ -70,14 +70,14 @@ make_bfd_asection (bfd *abfd,
   return asect;
 }
 
-static const bfd_target *
+static bfd_cleanup
 osf_core_core_file_p (bfd *abfd)
 {
   int val;
   int i;
   char *secname;
   struct core_filehdr core_header;
-  bfd_size_type amt;
+  size_t amt;
 
   amt = sizeof core_header;
   val = bfd_bread (& core_header, amt, abfd);
@@ -138,7 +138,7 @@ osf_core_core_file_p (bfd *abfd)
 
   /* OK, we believe you.  You're a core file (sure, sure).  */
 
-  return abfd->xvec;
+  return _bfd_no_cleanup;
 
  fail:
   bfd_release (abfd, core_hdr (abfd));
This page took 0.041887 seconds and 4 git commands to generate.