summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-10-12 20:39:07 +0200
committerNikita Popov <nikic@php.net>2014-10-12 20:55:52 +0200
commitb7e139a59ca7962c98ce1eb75150dd131978b41d (patch)
tree982ceb61cfedf3b6675957353cfd605b090c4a40 /.gdbinit
parent016a96c7c27fb244bd774a7fcd95edd30938a240 (diff)
downloadphp-git-b7e139a59ca7962c98ce1eb75150dd131978b41d.tar.gz
Fix incdec of referenced properties
I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first, because incdec op supports reference variables. However this violates the constraint that IS_TMP_VAR variables may not be references (which is an issue if you use the result of the incdec op). Still need to fix the cases where read_property/write_property is used.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 98bb173a5a..498099a411 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -53,11 +53,11 @@ define dump_bt
printf "[%p] ", $ex
set $func = $ex->func
if $func
- if $ex->object
+ if $ex->This->value.obj
if $func->common.scope
printf "%s->", $func->common.scope->name->val
else
- printf "%s->", $ex->object->ce.name->val
+ printf "%s->", $ex->This->value.obj->ce.name->val
end
else
if $func->common.scope