Browse Source

- Automatic TSRM/ZTS detection

migration/RELEASE_1_0_0
Marcus Boerger 20 years ago
parent
commit
165e0a00c9
  1. 6
      .gdbinit

6
.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

Loading…
Cancel
Save