Permalink
Browse files

Fix wrong type in the marco of fetching thread globals

  • Loading branch information...
1 parent 843fa04 commit 49e9d8f3514aef9bc8a48edc06486603fec9209a @laruence laruence committed Mar 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 .gdbinit
View
@@ -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

0 comments on commit 49e9d8f

Please sign in to comment.