diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-07-31 22:18:20 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-07-31 22:18:20 +0000 |
commit | 10f1729b65638f3f273f523861dd547ec6832e5f (patch) | |
tree | a49c98ad0d34bcb5a87c9f7fb1a256c7bf4df6dd /ace/Malloc.cpp | |
parent | 3e172150a24e32f471d10eb9a60eebb599de6f81 (diff) | |
download | ATCD-10f1729b65638f3f273f523861dd547ec6832e5f.tar.gz |
ChangeLogTag:Sat Jul 31 12:07:48 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
Diffstat (limited to 'ace/Malloc.cpp')
-rw-r--r-- | ace/Malloc.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ace/Malloc.cpp b/ace/Malloc.cpp index 6989ce2a4f6..d06ba145f31 100644 --- a/ace/Malloc.cpp +++ b/ace/Malloc.cpp @@ -41,13 +41,19 @@ ACE_Name_Node::ACE_Name_Node (void) } ACE_Name_Node::ACE_Name_Node (const char *name, - char *ptr, + char *name_ptr, + char *pointer, ACE_Name_Node *next) - : pointer_ (ptr), + : name_ (name_ptr), + pointer_ (pointer), next_ (next) { ACE_TRACE ("ACE_Name_Node::ACE_Name_Node"); - ACE_OS::strcpy (ACE_POINTER_CAST (this->name_), name); + char *n = ACE_POINTER_CAST (this->name_); + ACE_DEBUG ((LM_DEBUG, + "****** this->name_ = %x\n", n)); + ACE_OS::strcpy (n, name); + this->dump (); } ACE_Name_Node::ACE_Name_Node (const ACE_Name_Node &) @@ -59,6 +65,7 @@ ACE_Name_Node::ACE_Name_Node (const ACE_Name_Node &) const char * ACE_Name_Node::name (void) const { + this->dump (); return ACE_POINTER_CAST (this->name_); } @@ -76,7 +83,7 @@ ACE_Name_Node::dump (void) const ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); ACE_DEBUG ((LM_DEBUG, ASYS_TEXT("pointer = %x"), ACE_POINTER_CAST (this->pointer_))); ACE_DEBUG ((LM_DEBUG, ASYS_TEXT("\nnext_ = %x"), ACE_POINTER_CAST (this->next_))); - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT("\nname_ = %s"), ACE_POINTER_CAST (this->name_))); + ACE_DEBUG ((LM_DEBUG, ASYS_TEXT("\nname_ = (%x, %s)"), ACE_POINTER_CAST (this->name_), ACE_POINTER_CAST (this->name_))); ACE_DEBUG ((LM_DEBUG, ASYS_TEXT("\n"))); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); } |