]> 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>
Mon, 7 Jan 2008 16:05:27 +0000 (16:05 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Jan 2008 16:05:27 +0000 (17:05 +0100)
PR c++/34152
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

From-SVN: r131376

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

index c2a2b4999e4e1aa3ad01e8e965c1efef13396a6d..5ea4139159fd2346672cd047dabf39cc2063cf51 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-05  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/34680
index 5fd25f232d9d39deb204a0b5a50706506d3469bc..12bba96b2b8744dbba9ac7bfb8c1314ba4bae6c3 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.
 //
@@ -434,7 +434,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);