diff options
-rw-r--r-- | gdb/gcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c index 0079662..2ab00a0 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -528,7 +528,7 @@ objfile_find_memory_regions (struct target_ops *self, find_memory_region_ftype func, void *obfd) { /* Use objfile data to create memory sections. */ - bfd_vma temp_bottom, temp_top; + bfd_vma temp_bottom = 0, temp_top = 0; /* Call callback function for each objfile section. */ for (objfile *objfile : current_program_space->objfiles ()) |