mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: .gdbinit: make zbacktrace show the correct stack when switching threads
This commit is contained in:
commit
304190c49d
1 changed files with 1 additions and 3 deletions
4
.gdbinit
4
.gdbinit
|
@ -11,9 +11,7 @@ end
|
|||
|
||||
define ____executor_globals
|
||||
if basic_functions_module.zts
|
||||
if !$tsrm_ls
|
||||
set $tsrm_ls = ts_resource_ex(0, 0)
|
||||
end
|
||||
set $tsrm_ls = _tsrm_ls_cache
|
||||
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_ptr = $eg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue