This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]