]> granicus.if.org Git - php/commitdiff
- Automatic TSRM/ZTS detection
authorMarcus Boerger <helly@php.net>
Wed, 8 Mar 2006 22:15:52 +0000 (22:15 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 8 Mar 2006 22:15:52 +0000 (22:15 +0000)
.gdbinit

index dd2d604652e2a52d87ebc9c617035b676ef05220..f23d4c18acd0a2b2f90a07d88d26c865ee2ede86 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,7 +1,5 @@
-set $zts = 0
-
 define ____executor_globals
-       if $zts
+       if basic_functions_module.zts
                set $eg = ((zend_executor_globals) (*((void ***) tsrm_ls))[executor_globals_id-1])
        else
                set $eg = executor_globals
@@ -10,7 +8,7 @@ end
 
 document ____executor_globals
        portable way of accessing executor_globals
-       type "set $zts = 1" if you use --enable-maintainer-zts on your configure line
+       ZTS detection is automatically based on ext/standard module struct
 end
 
 define dump_bt