diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2013-12-20 14:27:51 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2013-12-20 14:27:51 +0100 |
commit | cee72c13d7defa8a51c33e2b6ed2c73d85fd4c2a (patch) | |
tree | c64561a3e7385a22ac6d416fb3252208b3a1392c /sapi/phpdbg/.gdbinit | |
parent | 436ca2d019ed3ec3183129f9a3a7e329446077e9 (diff) | |
parent | ef3e0119b8437c855049ee3a67b0317dce055669 (diff) | |
download | php-git-cee72c13d7defa8a51c33e2b6ed2c73d85fd4c2a.tar.gz |
Merge branch 'master' of sapi/phpdbg into PHP-5.6
Including phpdbg.
Diffstat (limited to 'sapi/phpdbg/.gdbinit')
-rw-r--r-- | sapi/phpdbg/.gdbinit | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sapi/phpdbg/.gdbinit b/sapi/phpdbg/.gdbinit new file mode 100644 index 0000000000..401a4bb88c --- /dev/null +++ b/sapi/phpdbg/.gdbinit @@ -0,0 +1,10 @@ +define ____phpdbg_globals + if basic_functions_module.zts + if !$tsrm_ls + set $tsrm_ls = ts_resource_ex(0, 0) + end + set $phpdbg = ((zend_phpdbg_globals*) (*((void ***) $tsrm_ls))[phpdbg_globals_id-1]) + else + set $phpdbg = phpdbg_globals + end +end |