diff options
author | Yann Ylavic <ylavic@apache.org> | 2020-05-29 11:07:18 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2020-05-29 11:07:18 +0200 |
commit | 687aa790701eb54367ca64a6adc0797aabc5e81f (patch) | |
tree | 97071c366eebfcdcd73bb5c715f14aaa3d032d6b /.gdbinit | |
parent | Use the ping timeout if set and waiting for a ping (diff) | |
download | apache2-687aa790701eb54367ca64a6adc0797aabc5e81f.tar.xz apache2-687aa790701eb54367ca64a6adc0797aabc5e81f.zip |
.gdbinit: fix dump_table indentation [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |