]> granicus.if.org Git - php/commitdiff
Fix wrong type in the marco of fetching thread globals
authorXinchen Hui <laruence@php.net>
Sun, 11 Mar 2012 15:12:28 +0000 (15:12 +0000)
committerXinchen Hui <laruence@php.net>
Sun, 11 Mar 2012 15:12:28 +0000 (15:12 +0000)
.gdbinit

index 9d96331697612505d4147b736afb23dbe0f9a067..2445825455f45119ec230b8d7b76b37e8caf92f1 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,8 +1,8 @@
 define ____executor_globals
        if basic_functions_module.zts
                set $tsrm_ls = ts_resource_ex(0, 0)
-               set $eg = ((zend_executor_globals) (*((void ***) $tsrm_ls))[executor_globals_id-1])
-               set $cg = ((zend_compiler_globals) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
+               set $eg = ((zend_executor_globals*) (*((void ***) $tsrm_ls))[executor_globals_id-1])
+               set $cg = ((zend_compiler_globals*) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
        else
                set $eg = executor_globals
                set $cg = compiler_globals