summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-08 22:38:32 +0000
committerMarcus Boerger <helly@php.net>2006-03-08 22:38:32 +0000
commit1138d30e9e0ddc3a7036bca1113c1e3f8c704ef1 (patch)
tree25aabe2ae18c5dda527a5a942899d1e2808e239b /.gdbinit
parent165e0a00c945ac14910ec8faea8988e7cb29be87 (diff)
downloadphp-git-1138d30e9e0ddc3a7036bca1113c1e3f8c704ef1.tar.gz
- Automatic tsrm key fetching
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index f23d4c18ac..e6fd350a1c 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,6 +1,7 @@
define ____executor_globals
if basic_functions_module.zts
- set $eg = ((zend_executor_globals) (*((void ***) tsrm_ls))[executor_globals_id-1])
+ set $tsrm_ls = ts_resource_ex(0, 0)
+ set $eg = ((zend_executor_globals) (*((void ***) $tsrm_ls))[executor_globals_id-1])
else
set $eg = executor_globals
end