gas: fix a few omissions in .cfi_label handling
[deliverable/binutils-gdb.git] / gdb / corelow.c
index 6a67a989f58d1f31109aa1177afb72582a1e477e..c7d4318e0014b61354752381758e6e5a4dcfb760 100644 (file)
@@ -536,6 +536,11 @@ get_core_register_section (struct regcache *regcache,
       warning (_("Section `%s' in core file too small."), section_name);
       return;
     }
+  if (size != min_size && !(regset->flags & REGSET_VARIABLE_SIZE))
+    {
+      warning (_("Unexpected size of section `%s' in core file."),
+              section_name);
+    }
 
   contents = alloca (size);
   if (! bfd_get_section_contents (core_bfd, section, contents,
This page took 0.024034 seconds and 4 git commands to generate.