summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-03-11 15:12:28 +0000
committerXinchen Hui <laruence@php.net>2012-03-11 15:12:28 +0000
commit49e9d8f3514aef9bc8a48edc06486603fec9209a (patch)
tree6ca5ba2218d231d1216eac69333804ab84ff2842 /.gdbinit
parent843fa04404098fe3203deb4fb21707b1afc4d77c (diff)
downloadphp-git-49e9d8f3514aef9bc8a48edc06486603fec9209a.tar.gz
Fix wrong type in the marco of fetching thread globals
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index be339553e5..4a26d9608b 100644
--- 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