Debugger: Fix loading symbols from ELF files other than the boot ELF

This commit is contained in:
chaoticgd 2024-11-06 21:04:30 +00:00 committed by Ty
parent 4dafee17e0
commit bea471a0e3
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ void SymbolImporter::ImportSymbols(
continue;
}
ccc::Result<std::vector<std::unique_ptr<ccc::SymbolTable>>> symbol_tables = elf.get_all_symbol_tables();
ccc::Result<std::vector<std::unique_ptr<ccc::SymbolTable>>> symbol_tables = (*symbol_file)->get_all_symbol_tables();
if (!symbol_tables.success())
{
ccc::report_error(symbol_tables.error());