This changes dwarf2_has_info to return bool.
 #ifndef DWARF2_PUBLIC_H
 #define DWARF2_PUBLIC_H
 
-extern int dwarf2_has_info (struct objfile *,
-                            const struct dwarf2_debug_sections *,
-                           bool = false);
+extern bool dwarf2_has_info (struct objfile *,
+                            const struct dwarf2_debug_sections *,
+                            bool = false);
 
 /* A DWARF names index variant.  */
 enum class dw_index_kind
 
    interposition is possible and so symbol values must follow copy
    relocation rules.  */
 
-int
+bool
 dwarf2_has_info (struct objfile *objfile,
                 const struct dwarf2_debug_sections *names,
                 bool can_copy)
 {
   if (objfile->flags & OBJF_READNEVER)
-    return 0;
+    return false;
 
   dwarf2_per_objfile *per_objfile = get_dwarf2_per_objfile (objfile);