diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2009-12-09 12:16:46 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2009-12-09 12:16:46 (GMT) |
commit | ee4f2de93706ea371c0a91dca22943cee112b8bb (patch) | |
tree | 1c411ac4f9f85c928452c33d12b7f942b4cb8c60 /generic/tclExecute.c | |
parent | efa921be53b01dc7f914a3fd6386749d503378d7 (diff) | |
download | tcl-ee4f2de93706ea371c0a91dca22943cee112b8bb.zip tcl-ee4f2de93706ea371c0a91dca22943cee112b8bb.tar.gz tcl-ee4f2de93706ea371c0a91dca22943cee112b8bb.tar.bz2 |
* generic/tclExecute.c (TclStackFree): Improved panic msg
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index f54bb54..831b7c3 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.456 2009/12/08 21:44:56 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.457 2009/12/09 12:16:46 msofer Exp $ */ #include "tclInt.h" @@ -1168,7 +1168,8 @@ TclStackFree( marker = *markerPtr; if ((freePtr != NULL) && (MEMSTART(markerPtr) != (Tcl_Obj **)freePtr)) { - Tcl_Panic("TclStackFree: incorrect freePtr. Call out of sequence?"); + Tcl_Panic("TclStackFree: incorrect freePtr (%p != %p). Call out of sequence?", + freePtr, MEMSTART(markerPtr)); } esPtr->tosPtr = markerPtr - 1; |