Reading DWARF debug information from a PE executable

Artem Razin <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CACS3OuTF87Mg9VkxfE8NsnTU2dcyV1EptjDmVnEj3EJ11boXxA@mail.gmail.com>
Hi,

This is my first question here and I hope it is suitable for this list.

I need (Windows/C++) to read DWARF debug information from a PE
executable. For example, mingw places debug information in this
format.

I've tried to adopt libdwarf but it seems to be able to read files in
ELF format only. At the same time mingw places debug information to
several PE sections.

Is there any way to pass raw data from these sections to libdwarf to
read debug information?

Or probably there are other ways to work with DWARF in case of PE executables...

Thank you!

-- 
Best regards,
Artem A. Razin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.