Permalink
Browse files

Fix wrong type in the marco of fetching thread globals

  • Loading branch information...
laruence committed Mar 11, 2012
1 parent 41fa157 commit 7ace6dd108d3487a822972802f74145c49e298f3
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 7ace6dd

Please sign in to comment.