22 #ifndef LIBCWD_LIBRARIES_DEBUG_H
23 #define LIBCWD_LIBRARIES_DEBUG_H
30 #if defined(_GLIBCXX_DEBUG) && !CWDEBUG_GLIBCXX_DEBUG
31 #error Libcwd was not compiled with -D_GLIBCXX_DEBUG while your application is. Please reconfigure libcwd with --enable-glibcxx-debug.
33 #if !defined(_GLIBCXX_DEBUG) && CWDEBUG_GLIBCXX_DEBUG
34 #error Libcwd was compiled with -D_GLIBCXX_DEBUG but your application is not. Please reconfigure libcwd without --enable-glibcxx-debug or use -D_GLIBCXX_DEBUG.
58 extern channel_ct
debug;
63 #ifdef LIBCWD_USE_EXTERNAL_C_LINKAGE_FOR_MALLOC
66 extern channel_ct __libcwd_malloc;
68 #else // !CWDEBUG_ALLOC
72 extern channel_ct
bfd;
74 extern fatal_channel_ct
fatal;
75 extern fatal_channel_ct
core;
77 extern continued_channel_ct
finish;
78 extern always_channel_ct
always;
108 LibcwDebug(::libcwd::channels, x)
109 #define __Dout(cntrl, data) \
110 LibcwDout(::libcwd::channels, ::libcwd::libcw_do, cntrl, data)
111 #define __DoutFatal(cntrl, data) \
112 LibcwDoutFatal(::libcwd::channels, ::libcwd::libcw_do, cntrl, data)
124 using std::operator<<;
129 namespace libcwd_inserters {
130 using libcwd::operator<<;
132 using namespace libcwd_inserters;
136 #include <libcwd/private_environ.h>
137 #include <libcwd/class_rcfile.h>
138 #include <libcwd/attach_gdb.h>
142 #include <libcwd/private_allocator.inl>
143 #include <libcwd/class_channel.inl>
144 #include <libcwd/class_fatal_channel.inl>
145 #include <libcwd/class_continued_channel.inl>
146 #include <libcwd/class_always_channel.inl>
147 #include <libcwd/class_debug.inl>
148 #include <libcwd/class_debug_string.inl>
149 #include <libcwd/class_channel_set.inl>
150 #include <libcwd/class_location.inl>
153 #if CWDEBUG_LOCATION // --enable-location
159 #endif // LIBCWD_LIBRARIES_DEBUG_H
channel_ct warning
Definition: debug.cc:484
channel_ct bfd
Definition: bfd.cc:92
channel_ct * find_channel(char const *label)
Find debug channel with label label.
Definition: debug.cc:1525
channel_ct notice
Definition: debug.cc:459
continued_channel_ct continued
Definition: debug.cc:505
continued_channel_ct finish
Definition: debug.cc:516
void list_channels_on(debug_ct &debug_object)
List all debug channels to a given debug object.
Definition: debug.cc:1572
channel_ct debug
Definition: debug.cc:452
channel_ct malloc
Definition: debug.cc:473
debug_ct libcw_do
The default debug object.
Definition: debug.cc:428
fatal_channel_ct fatal
Definition: debug.cc:526
fatal_channel_ct core
Definition: debug.cc:536
always_channel_ct always
Definition: debug.cc:494
channel_ct system
Definition: debug.cc:466