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;
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;
107 #define __Debug(STATEMENTS...) \
108 LibcwDebug(::libcwd::channels, STATEMENTS)
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 "private_environ.h"
137 #include "class_rcfile.h"
138 #include "attach_gdb.h"
142 #include "private_allocator.inl"
143 #include "class_channel.inl"
144 #include "class_fatal_channel.inl"
145 #include "class_continued_channel.inl"
146 #include "class_always_channel.inl"
147 #include "class_debug.inl"
148 #include "class_debug_string.inl"
149 #include "class_channel_set.inl"
150 #include "class_location.inl"
channel_ct system
Definition: debug.cc:467
channel_ct malloc
Definition: debug.cc:474
channel_ct bfd
Definition: bfd.cc:92
continued_channel_ct finish
Definition: debug.cc:517
fatal_channel_ct fatal
Definition: debug.cc:527
channel_ct notice
Definition: debug.cc:460
continued_channel_ct continued
Definition: debug.cc:506
channel_ct debug
Definition: debug.cc:453
always_channel_ct always
Definition: debug.cc:495
fatal_channel_ct core
Definition: debug.cc:537
channel_ct warning
Definition: debug.cc:485
channel_ct * find_channel(char const *label)
Find debug channel with label label.
Definition: debug.cc:1528
void list_channels_on(debug_ct &debug_object)
List all debug channels to a given debug object.
Definition: debug.cc:1575
namespace for libcwd.
Definition: debug.cc:87
debug_ct libcw_do
The default debug object.
Definition: debug.cc:429