Introduce program_space::add_objfile
[deliverable/binutils-gdb.git] / include / ctf-api.h
index 674860d52f36b3cf2e61b73973797f6ea5624338..d15b73421037b5fc4895dfe2986993f0ef094039 100644 (file)
@@ -203,7 +203,8 @@ enum
    ECTF_DUMPSECTUNKNOWN,       /* Unknown section number in dump.  */
    ECTF_DUMPSECTCHANGED,       /* Section changed in middle of dump.  */
    ECTF_NOTYET,                        /* Feature not yet implemented.  */
-   ECTF_INTERNAL               /* Internal error in link.  */
+   ECTF_INTERNAL,              /* Internal error in link.  */
+   ECTF_NONREPRESENTABLE       /* Type not representable in CTF.  */
   };
 
 /* The CTF data model is inferred to be the caller's data model or the data
@@ -285,10 +286,10 @@ extern int ctf_arc_write_fd (int, ctf_file_t **, size_t, const char **,
                             size_t);
 
 extern const char *ctf_cuname (ctf_file_t *);
-extern void ctf_cuname_set (ctf_file_t *, const char *);
+extern int ctf_cuname_set (ctf_file_t *, const char *);
 extern ctf_file_t *ctf_parent_file (ctf_file_t *);
 extern const char *ctf_parent_name (ctf_file_t *);
-extern void ctf_parent_name_set (ctf_file_t *, const char *);
+extern int ctf_parent_name_set (ctf_file_t *, const char *);
 extern int ctf_type_isparent (ctf_file_t *, ctf_id_t);
 extern int ctf_type_ischild (ctf_file_t *, ctf_id_t);
 
This page took 0.024108 seconds and 4 git commands to generate.