target_ops: Use bool throughout
[deliverable/binutils-gdb.git] / gdb / exec.c
index 9b00c2e8980c8304524354a22600514d048c9cc8..b1c4ca179987a0bdfaf1ff7089476c1199c9a1cb 100644 (file)
@@ -80,7 +80,7 @@ Specify the filename of the executable file.");
   struct target_section_table *get_section_table () override;
   void files_info () override;
 
-  int has_memory () override;
+  bool has_memory () override;
   char *make_corefile_notes (bfd *, int *) override;
   int find_memory_regions (find_memory_region_ftype func, void *data) override;
 };
@@ -1031,7 +1031,7 @@ exec_set_section_address (const char *filename, int index, CORE_ADDR address)
     }
 }
 
-int
+bool
 exec_target::has_memory ()
 {
   /* We can provide memory if we have any file/target sections to read
This page took 0.025167 seconds and 4 git commands to generate.