* mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with

index indexNil.
This commit is contained in:
Jim Kingdon
1994-01-28 16:56:58 +00:00
parent 1f029792a2
commit bb7cb9828e
2 changed files with 15 additions and 3 deletions

View File

@ -2748,10 +2748,17 @@ psymtab_to_symtab_1 (pst, filename)
add_symbol_to_list (s, &local_symbols);
}
}
else if (sh.st == stLabel && sh.index != indexNil)
else if (sh.st == stLabel)
{
/* Handle encoded stab line number. */
record_line (current_subfile, sh.index, valu);
if (sh.index == indexNil)
{
/* This is what the gcc2_compiled and __gnu_compiled_*
show up as. So don't complain. */
;
}
else
/* Handle encoded stab line number. */
record_line (current_subfile, sh.index, valu);
}
else if (sh.st == stProc || sh.st == stStaticProc || sh.st == stEnd)
/* These are generated by gcc-2.x, do not complain */