catch all source-file transitions so rsym data has the correct file name

svn path=/trunk/; revision=19580
This commit is contained in:
Royce Mitchell III 2005-11-25 22:41:31 +00:00
parent f4d55ceec4
commit 167ce3d548

View file

@ -41,7 +41,7 @@ CompareSymEntry(const PROSSYM_ENTRY SymEntry1, const PROSSYM_ENTRY SymEntry2)
}
return 0;
}
}
static int
GetStabInfo(void *FileData, PIMAGE_FILE_HEADER PEFileHeader,
@ -169,6 +169,8 @@ ConvertStabs(ULONG *SymbolsCount, PROSSYM_ENTRY *SymbolsBase,
switch (StabEntry[i].n_type)
{
case N_SO:
case N_SOL:
case N_BINCL:
Name = (char *) StabStringsBase + StabEntry[i].n_strx;
if (StabStringsLength < StabEntry[i].n_strx
||'\0' == *Name || '/' == Name[strlen(Name) - 1]