helly Sun Jan 4 15:20:19 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src .gdbinit
Log:
- MFH Add compiler globals as
http://cvs.php.net/viewvc.cgi/php-src/.gdbinit?r1=1.10.4.3.2.1.2.1&r2=1.10.4.3.2.1.2.2&diff_format=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.10.4.3.2.1.2.1 php-src/.gdbinit:1.10.4.3.2.1.2.2
--- php-src/.gdbinit:1.10.4.3.2.1.2.1 Sun Oct 14 02:48:30 2007
+++ php-src/.gdbinit Sun Jan 4 15:20:19 2009
@@ -2,13 +2,16 @@
if basic_functions_module.zts
set $tsrm_ls = ts_resource_ex(0, 0)
set $eg = ((zend_executor_globals) (*((void ***)
$tsrm_ls))[executor_globals_id-1])
+ set $cg = ((zend_compiler_globals) (*((void ***)
$tsrm_ls))[compiler_globals_id-1])
else
set $eg = executor_globals
+ set $cg = compiler_globals
end
end
document ____executor_globals
portable way of accessing executor_globals, set $eg
+ this also sets compiler_globals to $cg
ZTS detection is automatically based on ext/standard module struct
end
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php