Mail Archives: djgpp-workers/2001/06/22/17:12:19
Hi guys and Eli,
I tried the latest rhide.exe Andris made available and it still can't be used
to debug programs with dwarf2 info. I think GDB may be part of the problem.
elfread.c has a function to read a file's symbols called 'elf_symfile_read'.
In it, it reads elf symbols, ecoff symbols, stabs symbols, and dwarf[2]
symbols. coffread.c has a similiar function called 'coff_symfile_read'. In
that function, it reads coff symbols, stabs symbols but not dwarf2 symbols.
The elf function has this bit of code:
if (dwarf2_has_info (abfd))
{
/* DWARF 2 sections */
dwarf2_build_psymtabs (objfile, mainline);
}
I think this bit should to be added to the coff version (coff_symfile_read)
so the dwarf2 info is added to info being stashed away.
Mark
- Raw text -