refactor(kernel): update debug messages

This commit is contained in:
2025-04-17 16:01:03 +00:00
parent 7902726239
commit e270c9f35b
4 changed files with 38 additions and 10 deletions

View File

@ -185,17 +185,13 @@ namespace SymbolResolver
if (strlen(name) == 0)
continue;
SymbolTable tbl{};
SymbolTable tbl;
tbl.Address = sym->st_value;
tbl.FunctionName = new char[strlen(name) + 1];
strcpy(tbl.FunctionName, name);
this->SymTable.push_back(tbl);
this->SymbolTableExists = true;
// debug("Symbol %d: %#lx %s(%#lx)",
// i, tbl.Address,
// tbl.FunctionName,
// name);
// debug("Symbol %d: %#lx %s(%#lx)", i, tbl.Address, tbl.FunctionName, name);
}
}
}