* config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
authorJason Merrill <jason@redhat.com>
Thu, 21 Mar 2002 00:23:36 +0000 (19:23 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Mar 2002 00:23:36 +0000 (19:23 -0500)
From-SVN: r51099

gcc/ChangeLog
gcc/config/i386/cygwin.h

index 2a071c33b0d7b899b4fe0bfc3f93dec40c37f0b0..31e02a9334038de7053130928c0a97f63d5d6756 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-20  Jason Merrill  <jason@redhat.com>
+
+       * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
+
 2002-03-20  Michael Meissner  <meissner@redhat.com>
 
        * doc/invoke.texi (Optimize Options): Document that -O2 sets
index aa05518ae46b9cdc5d5c01f676c1d1a72bb7acf3..43e5bf4be3b0e6ce6f9f79b3b9be397fc4e9d518 100644 (file)
@@ -409,6 +409,11 @@ extern void i386_pe_unique_section PARAMS ((TREE, int));
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START " #"
 
+/* DWARF2 Unwinding doesn't work with exception handling yet.  To make
+   it work, we need to build a libgcc_s.dll, and dcrt0.o should be
+   changed to call __register_frame_info/__deregister_frame_info.  */
+#define DWARF2_UNWIND_INFO 0
+
 /* Don't assume anything about the header files.  */
 #define NO_IMPLICIT_EXTERN_C