mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[ROSSYM]
- Properly handle images without debug symbols. svn path=/branches/cmake-bringup/; revision=50571
This commit is contained in:
@@ -67,6 +67,13 @@ RosSymCreateFromFile(PVOID FileContext, PROSSYM_INFO *RosSymInfo)
|
||||
|
||||
SymbolTable = NtHeaders.FileHeader.PointerToSymbolTable;
|
||||
NumSymbols = NtHeaders.FileHeader.NumberOfSymbols;
|
||||
|
||||
if (!NumSymbols)
|
||||
{
|
||||
DPRINT1("Image doesn't have debug symbols\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
DPRINT("SymbolTable %x NumSymbols %x\n", SymbolTable, NumSymbols);
|
||||
|
||||
/* Load section headers */
|
||||
|
||||
Reference in New Issue
Block a user