]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/34152 (Erratic behaviour: Exception translation (throw from signal handlers))
authorTed Phelps <phelps@gnusto.com>
Sun, 6 Jan 2008 20:25:57 +0000 (20:25 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 6 Jan 2008 20:25:57 +0000 (21:25 +0100)
PR c++/34152
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

From-SVN: r131361

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/eh_personality.cc

index 5542b9c0f8710f58b24e43d0f677568885ad37a0..790d7611027ecc9feeaf7a8be76e9402a833cf27 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-06  Ted Phelps  <phelps@gnusto.com>
+
+       PR c++/34152
+       * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
+       _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
+
 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/34095
index f1cda0c1bbf2a05c4013c14d84beefb6d5bd7f53..86cfbafc2290130b8adc4ed21418fc9199f1da21 100644 (file)
@@ -1,5 +1,5 @@
 // -*- C++ -*- The GNU C++ exception personality routine.
-// Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2006, 2008 Free Software Foundation, Inc.
 //
 // This file is part of GCC.
 //
@@ -446,7 +446,7 @@ PERSONALITY_FUNCTION (int version,
   // Parse the LSDA header.
   p = parse_lsda_header (context, language_specific_data, &info);
   info.ttype_base = base_of_encoded_value (info.ttype_encoding, context);
-#ifdef HAVE_GETIPINFO
+#ifdef _GLIBCXX_HAVE_GETIPINFO
   ip = _Unwind_GetIPInfo (context, &ip_before_insn);
 #else
   ip = _Unwind_GetIP (context);