mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix wrong type in the marco of fetching thread globals
This commit is contained in:
parent
41fa157c44
commit
7ace6dd108
1 changed files with 2 additions and 2 deletions
4
.gdbinit
4
.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue