|
From: Carlo W. <li...@us...> - 2002-02-18 06:08:16
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-01-18 06:08:16 UTC
Modified files:
libcwd/NEWS libcwd/debug.cc libcwd/documentation/tutorial/tut8.m4
Log message:
list_channels_on didn't print the margin.
---------------------- diff included ----------------------
Index: src/libcwd/NEWS
diff -u src/libcwd/NEWS:1.72 src/libcwd/NEWS:1.73
--- src/libcwd/NEWS:1.72 Sun Feb 17 21:39:14 2002
+++ src/libcwd/NEWS Sun Feb 17 22:08:05 2002
@@ -27,6 +27,8 @@
that is defined under preferences -> appearance -> fonts.
This should be set to -adobe-helvetica-*-.
+ list_channels_on didn't print the margin.
+
Fixed a dead lock in object_file_ct::find_nearest_line().
The dead lock occured when debug output written from
load_dwarf/load_stabs, which must be done with userspace
Index: src/libcwd/debug.cc
diff -u src/libcwd/debug.cc:1.73 src/libcwd/debug.cc:1.74
--- src/libcwd/debug.cc:1.73 Sun Feb 17 17:24:46 2002
+++ src/libcwd/debug.cc Sun Feb 17 22:08:05 2002
@@ -1,4 +1,4 @@
-// $Header: /cvsroot/l/li/libcw/src/libcwd/debug.cc,v 1.73 2002/02/18 01:24:46 libcw Exp $
+// $Header: /cvsroot/l/li/libcw/src/libcwd/debug.cc,v 1.74 2002/02/18 06:08:05 libcw Exp $
//
// Copyright (C) 2000 - 2002, by
//
@@ -1250,6 +1250,7 @@
i != _private_::debug_channels.read_locked().end(); ++i)
{
LibcwDoutScopeBegin(DEBUGCHANNELS, debug_object, dc::always|noprefix_cf);
+ LibcwDoutStream.write(LIBCWD_DO_TSD_MEMBER(debug_object, margin).c_str(), LIBCWD_DO_TSD_MEMBER(debug_object, margin).size());
LibcwDoutStream.write((*i)->get_label(), WST_max_len);
if ((*i)->is_on())
LibcwDoutStream.write(": Enabled", 9);
Index: src/libcwd/documentation/tutorial/tut8.m4
diff -u src/libcwd/documentation/tutorial/tut8.m4:1.2 src/libcwd/documentation/tutorial/tut8.m4:1.3
--- src/libcwd/documentation/tutorial/tut8.m4:1.2 Sun Feb 17 21:56:02 2002
+++ src/libcwd/documentation/tutorial/tut8.m4 Sun Feb 17 22:08:06 2002
@@ -117,12 +117,12 @@
<P>Which outputs something like:</P>
<PRE class="output">
-BFD : Enabled
-DEBUG : Enabled
-MALLOC : Enabled
-NOTICE : Enabled
-SYSTEM : Enabled
-WARNING : Enabled
+1024 BFD : Enabled
+1024 DEBUG : Enabled
+1024 MALLOC : Enabled
+1024 NOTICE : Enabled
+1024 SYSTEM : Enabled
+1024 WARNING : Enabled
1024 NOTICE : main: creating thread 0, <unfinished>
1024 MALLOC : malloc(8160) = <unfinished>
1024 BFD : address 0x401fbbd8 corresponds to pthread.c:533
----------------------- End of diff -----------------------
|