This commit is contained in:
krakjoe 2013-11-14 13:05:37 +00:00
commit 22a3a2394f

10
.gdbinit Normal file
View File

@ -0,0 +1,10 @@
define ____phpdbg_globals
if basic_functions_module.zts
if !$tsrm_ls
set $tsrm_ls = ts_resource_ex(0, 0)
end
set $phpdbg = ((zend_phpdbg_globals*) (*((void ***) $tsrm_ls))[phpdbg_globals_id-1])
else
set $phpdbg = phpdbg_globals
end
end