[ping] couple of fixes for DWARF2 EH on Win32

Dave Korn dave.korn.cygwin@gmail.com
Fri Nov 5 19:25:00 GMT 2010


On 05/11/2010 19:10, Eric Botcazou wrote:

> FWIW we do use 64-bit DWARF-2 EH on Windows in our compilers and this works 
> almost out of the box (you have to enable it of course).  For the sake of 
> completeness, I'm posting the attached patchlet that is needed to make it 
> work with GCC 4.5 and later, but might be of interest to those playing with 
> the DWARF-2 unwinder on 64-bit Windows and so worth integrating in the tree.
> It is necessary in order to avoid buffer overruns caused by the different set 
> of call-used registers with the MS ABI.
> 
> 
> 2010-11-05  Eric Botcazou  <ebotcazou@adacore.com>
>             Pascal Obry  <obry@adacore.com>
> 
> 	* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine.  Use 33
> 	in 64-bit mode and 17 otherwise.

  That's OK.  Thank you.

    cheers,
      DaveK



More information about the Gcc-patches mailing list