gdb: Avoid compilation warning in gcore.c.
See https://sourceware.org/pipermail/gdb-patches/2024-June/209726.html for the details. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
parent
7831bc9185
commit
e222ed2ce5
1 changed files with 1 additions and 1 deletions
|
@ -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 ())
|
||||
|
|
Loading…
Add table
Reference in a new issue