diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-23 17:36:43 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-23 17:36:43 +0000 |
commit | b8cf25e9efcc0a67cc66e19dd78690e08c51abd0 (patch) | |
tree | 308452bad5d098c773c1a1018dc3062ab6dc3ed7 /libstdc++-v3 | |
parent | 8aa131b0aa0bc58bee6c61ed583da4048c8f722c (diff) | |
download | gcc-b8cf25e9efcc0a67cc66e19dd78690e08c51abd0.tar.gz |
* src/vterminate.cc (__verbose_terminate_handler): Add leading
underscores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47292 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/exception | 8 | ||||
-rw-r--r-- | libstdc++-v3/src/vterminate.cc | 6 |
3 files changed, 14 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5df989bfd19..0b25732fa67 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-11-23 Jason Merrill <jason@redhat.com> + + * src/vterminate.cc (__verbose_terminate_handler): Add leading + underscores. + 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk> * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in, diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception index 3e9fd967554..2011abf3282 100644 --- a/libstdc++-v3/libsupc++/exception +++ b/libstdc++-v3/libsupc++/exception @@ -98,8 +98,12 @@ namespace std namespace __gnu_cxx { /** A replacement for the standard terminate_handler which prints more - information about the terminating exception (if any) on stderr. */ - void verbose_terminate_handler (); + information about the terminating exception (if any) on stderr. + + std::set_terminate (__gnu_cxx::__verbose_terminate_handler) + + to use. */ + void __verbose_terminate_handler (); } // namespace __gnu_cxx } // extern "C++" diff --git a/libstdc++-v3/src/vterminate.cc b/libstdc++-v3/src/vterminate.cc index a56db74c3f2..942d6b55eab 100644 --- a/libstdc++-v3/src/vterminate.cc +++ b/libstdc++-v3/src/vterminate.cc @@ -39,9 +39,9 @@ using namespace abi; namespace __gnu_cxx { -/** This is a replacement for the standard terminate_handler which prints - more information about the terminating exception (if any) on stderr. */ -void verbose_terminate_handler () +/* A replacement for the standard terminate_handler which prints + more information about the terminating exception (if any) on stderr. */ +void __verbose_terminate_handler () { // Make sure there was an exception; terminate is also called for an // attempt to rethrow when there is no suitable exception. |