diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-26 21:10:59 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-26 21:10:59 +0000 |
commit | ed028e173459461350f90fd9a430ca2323228bb5 (patch) | |
tree | 8a9ff1231f676eb1b8f844fa75ddbd482309c0c5 /libstdc++-v3/src/debug.cc | |
parent | 5e941d36484f44b6d1a9818a7d43d421d5aae015 (diff) | |
download | gcc-ed028e173459461350f90fd9a430ca2323228bb5.tar.gz |
2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/20534 (contd)
* src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
Remove cstdio and cstdlib includes.
* include/debug/debug.h: Define inline here. Remove
_GLIBCXX_DEBUG_ABORT.
* include/debug/macros.h: Remove __fancy_abort declaration,
_GLIBXX_DEBUG_ABORT definition.
* config/linker-map.gnu: Remove export.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103535 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/debug.cc')
-rw-r--r-- | libstdc++-v3/src/debug.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index a86367aa504..af927e152fb 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/debug.cc @@ -32,10 +32,8 @@ #include <debug/safe_sequence.h> #include <debug/safe_iterator.h> #include <algorithm> -#include <cstdlib> #include <cassert> #include <cstring> -#include <cstdio> #include <cctype> #include <bits/concurrence.h> @@ -48,15 +46,6 @@ namespace __gnu_internal namespace __gnu_debug { - void - __fancy_abort(const char* __file, int __line, const char* __function, - const char* __condition) - { - printf("%s:%d: %s: Assertion '%s' failed.\n", __file, __line, - __function, __condition); - abort(); - } - const char* _S_debug_messages[] = { "function requires a valid iterator range [%1.name;, %2.name;)", |