summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorReeze Xia <reeze@php.net>2012-09-30 23:05:03 +0800
committerReeze Xia <reeze@php.net>2012-09-30 23:05:03 +0800
commit752280d4d2da31f9a761c53709f15f8d89fb81eb (patch)
treea704a8ecd95f61c45c46cce6fc46d43475c86a62 /.gdbinit
parent613674c7a2789afb77e2ff7044b2f67578013966 (diff)
downloadphp-git-752280d4d2da31f9a761c53709f15f8d89fb81eb.tar.gz
Add missing ____executor_globals in dump_bt if needed
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 0bff41784a..8cdfaa6093 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -44,9 +44,10 @@ define dump_bt
set $count = (int)*($fst.arguments)
if $t->object
- if $fst.function.common.scope->name
+ if $fst.function.common.scope
printf "%s->", $fst.function.common.scope->name
else
+ ____executor_globals
set $class_name_ptr = (char **)malloc(sizeof(char **))
set $class_name_len = (int *)malloc(sizeof(int *))