tracebak.c: Refine tracebacks to use Unwind_Backtrace scheme on ia64 platform only...
authorBernard Banner <banner@adacore.com>
Thu, 7 Jul 2005 09:47:10 +0000 (11:47 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 7 Jul 2005 09:47:10 +0000 (11:47 +0200)
2005-07-07  Bernard Banner  <banner@adacore.com>

* tracebak.c: Refine tracebacks to use Unwind_Backtrace scheme on
ia64 platform only on platforms that you the GCC unwind library
rather than the system unwind library.

From-SVN: r101699

gcc/ada/tracebak.c

index 4289e17c8724b84c4ea1d7196c1d5f3bbc96df9e..f7c431b77b953a8f64b7aa11e0661ea83dae57e2 100644 (file)
@@ -349,7 +349,7 @@ struct layout
 
 /*----------------------------- ia64 ---------------------------------*/
 
-#elif defined (__ia64__)
+#elif defined (__ia64__) && !defined (USE_LIBUNWIND_EXCEPTIONS)
 
 #define USE_GCC_UNWINDER