aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 9b00c2e..b1c4ca1 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -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