helly Sun Jan 4 15:20:02 2009 UTC
Modified files:
/php-src .gdbinit
Log:
- Add compiler globals as
http://cvs.php.net/viewvc.cgi/php-src/.gdbinit?r1=1.24&r2=1.25&diff_format=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.24 php-src/.gdbinit:1.25
--- php-src/.gdbinit:1.24 Sat Jan 3 12:18:53 2009
+++ php-src/.gdbinit Sun Jan 4 15:20:02 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