summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-08 22:15:52 +0000
committerMarcus Boerger <helly@php.net>2006-03-08 22:15:52 +0000
commit165e0a00c945ac14910ec8faea8988e7cb29be87 (patch)
treef6ec6f7f56f8e4386584871cf2c67dad21aef22b /.gdbinit
parent9656a34cbcc7fd4ac320d44e0a04c49d4b7aae33 (diff)
downloadphp-git-165e0a00c945ac14910ec8faea8988e7cb29be87.tar.gz
- Automatic TSRM/ZTS detection
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit6
1 files changed, 2 insertions, 4 deletions
diff --git a/.gdbinit b/.gdbinit
index dd2d604652..f23d4c18ac 100644
--- 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