delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/22/17:12:19

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com, eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Date: Fri, 22 Jun 2001 17:12:08 -0400
MIME-Version: 1.0
Subject: latest rhide and dwarf2
Message-ID: <3B337C68.28282.30B172@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019