[PATCH]: For x86_64 mingw32 the dwarf2 default unwind does not work

Kai Tietz Kai.Tietz@onevision.com
Tue Dec 11 09:55:00 GMT 2007


"Danny Smith" wrote on 11.12.2007 08:38:45:

> What is the bug you are seeing?   All C++ EH testsuite cases pass with
> DWARF2 on 32 bit mingw.
> What is in your crtbegin/crtend objects for 64 bit? In
> libgcc/config.host there are no crtstuff extra_parts.
> 
> x86_64-*-mingw*)
>    ;;

Yes, currently crtbegin and crtend objects are dummy files. They do not 
implement anything. All those functions are placed within other crt files.
The problem is, that I am able to build, but when I use e.g. a small c++ 
program like:

#include <stdio.h>

int main()
{
 try {
   int e = 1234:
   throw e;
 } catch(int e) {
   printf ("Caught: %d\n", i);
 }
 return 0;
}

This simply does an abort(). But currently there is no x86_64-mingw32 gdb, 
so I can not tell easily where it fails.

> > Should I apply, or will you do ?
> >
> Please apply.
Thank, done.

Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger




More information about the Gcc-patches mailing list