+2018-08-10 Alan Hayward <alan.hayward@arm.com>
+
+ * corelow.c (core_target::get_core_register_section): Rename
+ min_size to section_min_size.
+
2018-08-09 Jim Wilson <jimw@sifive.com>
* Makefile.in (ALL_TARGET_OBS): Add riscv-linux-tdep.c.
void get_core_register_section (struct regcache *regcache,
const struct regset *regset,
const char *name,
- int min_size,
+ int section_min_size,
int which,
const char *human_name,
bool required);
core_target::get_core_register_section (struct regcache *regcache,
const struct regset *regset,
const char *name,
- int min_size,
+ int section_min_size,
int which,
const char *human_name,
bool required)
}
size = bfd_section_size (core_bfd, section);
- if (size < min_size)
+ if (size < section_min_size)
{
warning (_("Section `%s' in core file too small."),
section_name.c_str ());
return;
}
- if (size != min_size && !variable_size_section)
+ if (size != section_min_size && !variable_size_section)
{
warning (_("Unexpected size of section `%s' in core file."),
section_name.c_str ());