[Mingw-users] Reading DWARF debug information from PE file on Windows with libdwarf

Back to archive index
Eli Zaretskii eliz****@gnu*****
Wed Apr 17 23:51:05 JST 2019


> From: Artem Razin <artem****@gmail*****>
> Date: Wed, 17 Apr 2019 15:59:45 +0300
> 
> I am an author of Deleaker, a memory profiler tool. Currently Deleaker can resolve symbols using PDB files,
> but now I want to add support of binaries compiled by mingw.
> 
> It seems that mingw uses DWARF format.
> 
> I need to parse this debug information. 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...

You might be better off asking these questions on the GDB mailing
list, because that's where experts on DWARF dwell.  Just be sure to
tell that you are interested in DWARF info in PE executables.



More information about the MinGW-Users mailing list
Back to archive index