<i>Shrink TEBC Activation Record</i> status still Open with 4 other changes
by
.
D 2010-04-04T22:30:00
J icomment To\sget\sa\smore\s"runtime"\sview,\sI\stend\sto\sextract\sthe\saddress\sof\slocals\sin\sa\scaller\sand\sa\scallee\sof\sthe\sfunction\sof\sinterest.\sIn\sthe\sTEBC\scase,\s\sa\sbreakpoint\sin\ssome\slibrary\sfunc\slike\s[socket]\syields\sa\sstack\swith\n\n\sTclNRRunCallbacks\n\sTclExecuteByteCode\n\sNRCallTEBC\n\nand\sextracting\s"&iPtr"\sunder\sgdb\sin\sboth\sTclNRRunCallbacks\sand\sNRCallTEBC\nyields:\n\n(gdb)\sframe\s2\n(gdb)\sprint\s&iPtr\n$1\s=\s(Interp\s**)\s0xbffff194\n(gdb)\sframe\s4\n(gdb)\sprint\s&iPtr\n$2\s=\s(Interp\s**)\s0xbffff65c\n\nso\shere\sthe\soffset\sis\s0x4C8.\n\nOf\scourse\sthis\smay\salso\sinclude\ssome\scontribution\sfrom\sthe\scaller's\sand\scallee's\sactivations\srecords,\sbut\sin\sthis\sspecific\scase\sthey\sshould\sbe\ssmall\s(neither\sbig\slocal\sarrays\snor\salloca).\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2981677fffffffffffffffffffffffffffffffff
U ferrieux
Z 97d66e2a8198216bf24b41a955490590