summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++/eh_terminate.cc
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2002-12-26 06:10:35 +0000
committerPhil Edwards <pme@gcc.gnu.org>2002-12-26 06:10:35 +0000
commitfb7054160f2f4a3fb62c37f64235faf00a05a789 (patch)
tree29b72cf5b311ee7cdd1b193f946ea88ea56e84d0 /libstdc++-v3/libsupc++/eh_terminate.cc
parentb21fb038c9fd9ecf5f5ce362a3d35d993f89b64b (diff)
downloadgcc-fb7054160f2f4a3fb62c37f64235faf00a05a789.tar.gz
vterminate.cc: Move to...
2002-12-25 Phil Edwards <pme@gcc.gnu.org> * src/vterminate.cc: Move to... * libsupc++/vterminate.cc: ...here. New file. Replace fprintf with writestr macro. Slight reword to explanatory text. * libsupc++/eh_terminate.cc (__cxxabiv1::__terminate_handler, __cxxabiv1::__unexpected_handler): Break definitions out to... * libsupc++/eh_unex_handler.cc: ...here (new file), and... * libsupc++/eh_term_handler.cc: ...here (new file). Initialize __terminate_handler with __gnu_cxx::__verbose_terminate_handler instead of std::abort. * libsupc++/Makefile.am (sources), src/Makefile.am (sources): Update. * libsupc++/Makefile.in, src/Makefile.in: Regenerate. From-SVN: r60505
Diffstat (limited to 'libstdc++-v3/libsupc++/eh_terminate.cc')
-rw-r--r--libstdc++-v3/libsupc++/eh_terminate.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/libstdc++-v3/libsupc++/eh_terminate.cc b/libstdc++-v3/libsupc++/eh_terminate.cc
index 58a6ea46b34..e416c91307b 100644
--- a/libstdc++-v3/libsupc++/eh_terminate.cc
+++ b/libstdc++-v3/libsupc++/eh_terminate.cc
@@ -1,5 +1,5 @@
// -*- C++ -*- std::terminate, std::unexpected and friends.
-// Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+// Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation
//
// This file is part of GNU CC.
@@ -36,10 +36,6 @@
using namespace __cxxabiv1;
-/* The current installed user handlers. */
-std::terminate_handler __cxxabiv1::__terminate_handler = std::abort;
-std::unexpected_handler __cxxabiv1::__unexpected_handler = std::terminate;
-
void
__cxxabiv1::__terminate (std::terminate_handler handler)
{