diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-06-06 21:37:23 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-06-06 21:37:23 +0000 |
commit | e64686fed86068e977ac84c5776438935f446f00 (patch) | |
tree | 455592297e26e3ac84a8027db0e70e74dc3ecdc7 /src/context | |
parent | daa163e694d257ffe8ba7ae8ccb240bcbfb1c276 (diff) |
Fix for Mac OS breakage (x86 didn't crash, but probably would, eventually, on some problems---valgrind gave many complaints): the problem was that calloc() (in the Backtracker) wasn't allocating enough space for the type located at the resulting address. Resolves bug #263.
Also, some debugging improvements.
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/context.h b/src/context/context.h index aabe4e7c2..6375707b9 100644 --- a/src/context/context.h +++ b/src/context/context.h @@ -577,7 +577,7 @@ public: * ContextMemoryManager as an argument. */ void deleteSelf() { - Debug("context") << "deleteSelf(" << this << ")" << std::endl; + Debug("context") << "deleteSelf(" << this << ") " << typeid(*this).name() << std::endl; this->~ContextObj(); ::operator delete(this); } |