http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49532
Summary: Dwarf Error: wrong version in compilation unit header (is 1024, should be 2, 3, or 4) [in module D:\mingw.tests\l.dll] Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: pl...@agmk.net Target: i686-pc-mingw32 loading m.exe into ming32/gdb.exe ends with undebuggable l.dll: (...) Error while reading shared library symbols for D:\mingw.tests\l.dll: Dwarf Error: wrong version in compilation unit header (is 1024, should be 2, 3, or 4) [in module D:\mingw.tests\l.dll] (gdb) info sharedlibrary >From To Syms Read Shared Object Library 0x77841000 0x779a5d24 Yes (*) C:\Windows\system32\ntdll.dll 0x76e71000 0x76f6bd50 Yes (*) C:\Windows\syswow64\kernel32.dll 0x75c51000 0x75c95982 Yes (*) C:\Windows\syswow64\KernelBase.dll 0x768f1000 0x7699b2bc Yes (*) C:\Windows\syswow64\msvcrt.dll 0x62a81000 0x62a96ab4 No D:\mingw.tests\l.dll 0x6fc41000 0x6fd1e218 Yes D:\mingw.tests\libstdc++-6.dll 0x6cec1000 0x6cedd4bc Yes D:\mingw.tests\libgcc_s_sjlj-1.dll 0x76c41000 0x76d24198 Yes (*) C:\Windows\syswow64\user32.dll 0x75af1000 0x75b6292c Yes (*) C:\Windows\syswow64\gdi32.dll 0x74f91000 0x74f992f8 Yes (*) C:\Windows\syswow64\lpk.dll 0x759e1000 0x75a7c9fc Yes (*) C:\Windows\syswow64\usp10.dll 0x753c1000 0x7545f04c Yes (*) C:\Windows\syswow64\advapi32.dll 0x75461000 0x75478ed8 Yes (*) C:\Windows\SysWOW64\sechost.dll 0x75711000 0x757e5e04 Yes (*) C:\Windows\syswow64\rpcrt4.dll 0x74f31000 0x74f721f0 Yes (*) C:\Windows\syswow64\sspicli.dll 0x74f21000 0x74f2b474 Yes (*) C:\Windows\syswow64\cryptbase.dll 0x75bd1000 0x75c11ce0 Yes (*) C:\Windows\SysWOW64\imm32.dll 0x76da1000 0x76e6bebc Yes (*) C:\Windows\syswow64\msctf.dll (*): Shared library is missing debugging information.