mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 20:47:07 +00:00
catch all source-file transitions so rsym data has the correct file name
svn path=/trunk/; revision=19580
This commit is contained in:
parent
f4d55ceec4
commit
167ce3d548
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,7 @@ CompareSymEntry(const PROSSYM_ENTRY SymEntry1, const PROSSYM_ENTRY SymEntry2)
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
GetStabInfo(void *FileData, PIMAGE_FILE_HEADER PEFileHeader,
|
GetStabInfo(void *FileData, PIMAGE_FILE_HEADER PEFileHeader,
|
||||||
|
@ -169,6 +169,8 @@ ConvertStabs(ULONG *SymbolsCount, PROSSYM_ENTRY *SymbolsBase,
|
||||||
switch (StabEntry[i].n_type)
|
switch (StabEntry[i].n_type)
|
||||||
{
|
{
|
||||||
case N_SO:
|
case N_SO:
|
||||||
|
case N_SOL:
|
||||||
|
case N_BINCL:
|
||||||
Name = (char *) StabStringsBase + StabEntry[i].n_strx;
|
Name = (char *) StabStringsBase + StabEntry[i].n_strx;
|
||||||
if (StabStringsLength < StabEntry[i].n_strx
|
if (StabStringsLength < StabEntry[i].n_strx
|
||||||
||'\0' == *Name || '/' == Name[strlen(Name) - 1]
|
||'\0' == *Name || '/' == Name[strlen(Name) - 1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue