From 49e9d8f3514aef9bc8a48edc06486603fec9209a Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 11 Mar 2012 15:12:28 +0000 Subject: [PATCH] Fix wrong type in the marco of fetching thread globals --- .gdbinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gdbinit b/.gdbinit index be339553e55..4a26d9608bd 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