tracebak.c: Under Darwin, use the same unwinding mechanisms as under PPC/AIX.
authorNicolas Setton <setton@adacore.com>
Tue, 15 Mar 2005 15:51:35 +0000 (16:51 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 15:51:35 +0000 (16:51 +0100)
2005-03-08  Nicolas Setton  <setton@adacore.com>

* tracebak.c: Under Darwin, use the same unwinding mechanisms as under
PPC/AIX.

From-SVN: r96485

gcc/ada/tracebak.c

index 83d51ccfd287c4b140208410c62a4dabf251db82..1cd4a0f25881ad3de2718e7797670d3a7fc10838 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *           Copyright (C) 2000-2004 Ada Core Technologies, Inc.            *
+ *           Copyright (C) 2000-2005 Ada Core Technologies, Inc.            *
  *                                                                          *
  * GNAT is free software;  you can  redistribute it  and/or modify it under *
  * terms of the  GNU General Public License as published  by the Free Soft- *
@@ -191,9 +191,9 @@ extern void (*Unlock_Task) (void);
 
   */
 
-/*------------------------------ PPC AIX -------------------------------*/
+/*--------------------------- PPC AIX/Darwin ----------------------------*/
 
-#if defined (_AIX)
+#if (defined (__ppc__) && ((defined (_AIX) || defined (__APPLE__))))
 
 #define USE_GENERIC_UNWINDER