summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-05-29 10:56:55 +0200
committerYann Ylavic <ylavic@apache.org>2020-05-29 10:56:55 +0200
commit168688d0800e766fe99520cfeb50d0ec26b8edb5 (patch)
treed046c41301e36df25e7051351d5ef6ac9a75f6fd /.gdbinit
parent.gdbinit: better dump_pool_and_children indentation [skip ci] (diff)
downloadapache2-168688d0800e766fe99520cfeb50d0ec26b8edb5.tar.xz
apache2-168688d0800e766fe99520cfeb50d0ec26b8edb5.zip
.gdbinit: tabs to spaces [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878263 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit22
1 files changed, 11 insertions, 11 deletions
diff --git a/.gdbinit b/.gdbinit
index 28afa4456b..62202aacfb 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -6,12 +6,12 @@ define dump_table
set $n = ((apr_array_header_t *)$arg0)->nelts
set $i = 0
while $i < $n
- if $t[$i].val == (void *)0L
- printf "[%u] '%s'=>NULL\n", $i, $t[$i].key
- else
- printf "[%u] '%s'='%s' [%p]\n", $i, $t[$i].key, $t[$i].val, $t[$i].val
- end
- set $i = $i + 1
+ if $t[$i].val == (void *)0L
+ printf "[%u] '%s'=>NULL\n", $i, $t[$i].key
+ else
+ printf "[%u] '%s'='%s' [%p]\n", $i, $t[$i].key, $t[$i].val, $t[$i].val
+ end
+ set $i = $i + 1
end
end
document dump_table
@@ -47,7 +47,7 @@ define dump_string_hash
printf "'%s' => '%p'\n", $ent->key, $ent->val
set $ent = $ent->next
end
- set $i = $i + 1
+ set $i = $i + 1
end
end
document dump_string_hash
@@ -64,7 +64,7 @@ define dump_string_shash
printf "'%s' => '%s'\n", $ent->key, $ent->val
set $ent = $ent->next
end
- set $i = $i + 1
+ set $i = $i + 1
end
end
document dump_string_shash
@@ -72,7 +72,7 @@ document dump_string_shash
end
define ro
- run -DONE_PROCESS
+ run -DONE_PROCESS
end
define dump_string_array
@@ -80,8 +80,8 @@ define dump_string_array
set $n = (int)((apr_array_header_t *)$arg0)->nelts
set $i = 0
while $i < $n
- printf "[%u] '%s'\n", $i, $a[$i]
- set $i = $i + 1
+ printf "[%u] '%s'\n", $i, $a[$i]
+ set $i = $i + 1
end
end
document dump_string_array