com php-src: - Added .gdbinit: .gdbinit

From: Date: Thu, 14 Nov 2013 12:40:01 +0000
Subject: com php-src: - Added .gdbinit: .gdbinit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74977@lists.php.net to get a copy of this message
Commit: 1d7562bb992051862cd0bab5f7dd0757de685595 Author: Felipe Pena <felipensp@gmail.com> Thu, 14 Nov 2013 10:40:01 -0200 Parents: dc580c685f1a5666a652d51eadacb3893eac2358 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1d7562bb992051862cd0bab5f7dd0757de685595 Log: - Added .gdbinit Changed paths: A .gdbinit Diff: diff --git a/.gdbinit b/.gdbinit new file mode 100644 index 0000000..401a4bb --- /dev/null +++ b/.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

« previous php.cvs (#74977) next »