com php-src: Add missing ____executor_globals in dump_bt if needed: .gdbinit
| From: | Stanislav Malyshev | Date: | Sun, 30 Sep 2012 15:05:03 +0000 |
| Subject: | com php-src: Add missing ____executor_globals in dump_bt if needed: .gdbinit | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70289@lists.php.net to get a copy of this message | ||
Commit: 752280d4d2da31f9a761c53709f15f8d89fb81eb
Author: Reeze Xia <reeze@php.net> Sun, 30 Sep 2012 23:05:03 +0800
Parents: 613674c7a2789afb77e2ff7044b2f67578013966
Branches: PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=752280d4d2da31f9a761c53709f15f8d89fb81eb
Log:
Add missing ____executor_globals in dump_bt if needed
Changed paths:
M .gdbinit
Diff:
diff --git a/.gdbinit b/.gdbinit
index 0bff417..8cdfaa6 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 *))