Make "show remote exec-file" inferior-aware
[deliverable/binutils-gdb.git] / bfd / osf-core.c
index 39e0b1473b0ea7610565523bfbcfeeeda218a65e..87cebc625d9f1b14716fe1ca4dceff84c09bde3a 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for OSF/1 core files.
-   Copyright (C) 1993-2014 Free Software Foundation, Inc.
+   Copyright (C) 1993-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -124,8 +124,8 @@ osf_core_core_file_p (bfd *abfd)
          flags = SEC_HAS_CONTENTS;
          break;
        default:
-         (*_bfd_error_handler) (_("Unhandled OSF/1 core file section type %d\n"),
-                                core_scnhdr.scntype);
+         _bfd_error_handler (_("unhandled OSF/1 core file section type %d"),
+                             core_scnhdr.scntype);
          continue;
        }
 
@@ -173,7 +173,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target osf_core_vec =
+const bfd_target core_osf_vec =
   {
     "osf-core",
     bfd_target_unknown_flavour,
@@ -201,12 +201,16 @@ const bfd_target osf_core_vec =
       osf_core_core_file_p             /* a core file */
     },
     {                          /* bfd_set_format */
-      bfd_false, bfd_false,
-      bfd_false, bfd_false
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error
     },
     {                          /* bfd_write_contents */
-      bfd_false, bfd_false,
-      bfd_false, bfd_false
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error,
+      _bfd_bool_bfd_false_error
     },
 
     BFD_JUMP_TABLE_GENERIC (_bfd_generic),
This page took 0.024368 seconds and 4 git commands to generate.