From 165e0a00c945ac14910ec8faea8988e7cb29be87 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Wed, 8 Mar 2006 22:15:52 +0000 Subject: - Automatic TSRM/ZTS detection --- .gdbinit | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.gdbinit') 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 -- cgit v1.2.1