summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:17:28 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:17:28 +0200
commit37c329d7153b65fd2430fa42e8af8e8a0cbc0a41 (patch)
tree7041c722228f74286b96c50fc834652f0c29156f /.gdbinit
parent6c2c7dabee006fa735307d92bb223a1fa3d47414 (diff)
downloadphp-git-37c329d7153b65fd2430fa42e8af8e8a0cbc0a41.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit20
1 files changed, 10 insertions, 10 deletions
diff --git a/.gdbinit b/.gdbinit
index f33a72bc68..56c11e4206 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -5,7 +5,7 @@ end
document set_ts
set the ts resource, it is impossible for gdb to
call ts_resource_ex while no process is running,
- but we could get the resource from the argument
+ but we could get the resource from the argument
of frame info.
end
@@ -153,7 +153,7 @@ end
define printzv
set $ind = 1
- ____printzv $arg0 0
+ ____printzv $arg0 0
end
document printzv
@@ -190,7 +190,7 @@ define ____printzv_contents
if $type == 6
printf "string: %s", $zvalue->value.str->val
end
- if $type == 7
+ if $type == 7
printf "array: "
if ! $arg1
set $ind = $ind + 1
@@ -287,7 +287,7 @@ define ____printzv
if $arg1
____printzv_contents $zcontents $arg1
else
- ____printzv_contents $zcontents 0
+ ____printzv_contents $zcontents 0
end
end
@@ -340,7 +340,7 @@ define ____print_ht
set $n = $n - 1
end
printf "[%d] ", $i
- if $p->key
+ if $p->key
printf "%s => ", $p->key->val
else
printf "%d => ", $p->h
@@ -389,7 +389,7 @@ document print_htptr
end
define print_htstr
- set $ind = 0
+ set $ind = 0
____print_ht $arg0 2
end
@@ -543,10 +543,10 @@ define printzn
if $znode->op_type == 1
set $optype = "IS_CONST"
end
- if $znode->op_type == 2
+ if $znode->op_type == 2
set $optype = "IS_TMP_VAR"
end
- if $znode->op_type == 4
+ if $znode->op_type == 4
set $optype = "IS_VAR"
end
if $znode->op_type == 8
@@ -576,11 +576,11 @@ end
document printzn
print type and content of znode.
- usage: printzn &opline->op1
+ usage: printzn &opline->op1
end
define printzops
- printf "op1 => "
+ printf "op1 => "
printzn &execute_data->opline.op1
printf "op2 => "
printzn &execute_data->opline.op2