2013/3/25 Zouzou <[email protected]>
> Hi,
>
> When building a program with GCC 4.8 x64 with SEH, the debug info in
> that program is still in the DWARF format. This can be evidenced by
> noticing that "odjdump -h prog.exe" does list regular DWARF sections
> (.debug_*); I have also checked that the info is correct with a DWARF
> reader.
>
> It would be great if that debug info could follow that of programs built
> by VS; debug info that can then be parsed by calling Win APIs like
> SymGetSymFromAddr64, SymGetLineFromAddr64.
>
> I was under the impression that this move to SEH would also have applied
> to the debug information, but I must have been wrong.
> Is it a known issue / a todo?
> Does this depend on some flags to switch when compiling GCC?
> Would it be much work to produce such a VS-compatible debug section, or
> could the SEH bits be reused there?
>
The new SEH has nothing to do with debug info. It is only used for GCC's
exception handling, which mostly means only C++.
People have said this in the past. It is a tremendous amount of work and as
all Windows-oriented work in Open Source projects, there is a negligible
amount of people who are a) willing to it, and b) have time to do it and c)
are capable of doing it. Remember this also means gdb needs to support the
format. I agree in principle this should be done, but looking at it
realistically, it just ain't gonna happen. This also requires a SQL
database implementation (because that's what MSVC uses), which will not be
wanted by the core GCC devs methinks.
Another bonus this would bring is that debugging MinGW-w64 built apps would
give backtraces also in system dll's, using the MS public symbol servers.
Ruben
> Thanks
>
> Zouzou
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public