Remove psymtab stub
Because we weren't fully setting up the psymtab, we ended up dereferencing invalid/null pointers when its functions were called. For now, we just deal with 'no symbols found' errors, because it's better than crashing. Fixes main issue in #2
This commit is contained in:
parent
8f00d3d3cd
commit
a8451d40c1
|
@ -336,10 +336,6 @@ read_pdb (struct objfile *objfile, minimal_symbol_reader & reader)
|
|||
|
||||
printf_filtered (_("Reading symbols from %s...\n"), pdb_path.c_str ());
|
||||
|
||||
//TODO: Use this. For now, we allocate the symtab so we don't print we found no symbols.
|
||||
auto psymtab = allocate_psymtab (objfile->original_name, objfile);
|
||||
(void) psymtab;
|
||||
|
||||
it = r_list_iterator (gsym_data_stream->globals_list);
|
||||
while (r_list_iter_next (it))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue