Warn but dont fail the build on STABS debuginfo (RhBug:725378, others)

- debugedit doesn't support STABS but there are some crazy cases
  like PPC Linux kernel which contains both STABS and DWARF debuginfo
  sections, manually added. A better fix would be erroring out
  if we didn't find any usable debuginfo and warning otherwise but
  this at least folks get their kernels built.
This commit is contained in:
Panu Matilainen 2012-03-07 13:47:09 +02:00
parent fb3afcbff7
commit 1684b69611
1 changed files with 1 additions and 1 deletions

View File

@ -1588,7 +1588,7 @@ main (int argc, char *argv[])
if (strcmp (name, ".stab") == 0)
{
fprintf (stderr, "Stabs debuginfo not supported: %s\n", file);
exit (1);
break;
}
if (strcmp (name, ".debug_info") == 0)
edit_dwarf2 (dso);