summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclExecute.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 06d9a4e..6051345 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-12-08 Miguel Sofer <msofer@users.sf.net>
+ * generic/tclExecute.c (TclStackFree): Improved panic msg
+
+2009-12-08 Miguel Sofer <msofer@users.sf.net>
+
* generic/tclBasic.c: Partial nre-enabling of coroutines.
* generic/tclExecute.c: The initial call still requires its
* generic/tclInt.h: own instance of tebc, but on resume coros
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;