summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2020-06-30 22:23:52 +0200
committerRuediger Pluem <rpluem@apache.org>2020-06-30 22:23:52 +0200
commit8d4133f1c1278282b31d04d461a8123dce5a765c (patch)
tree1a02ceeb2ac76084a73330674dae504b7d09ca3c /.gdbinit
parent* Use isValidAddress when dumping buckets [skip ci] (diff)
downloadapache2-8d4133f1c1278282b31d04d461a8123dce5a765c.tar.xz
apache2-8d4133f1c1278282b31d04d461a8123dce5a765c.zip
* Improve formating and aligning [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879384 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit12
1 files changed, 6 insertions, 6 deletions
diff --git a/.gdbinit b/.gdbinit
index b0d15e492a..1988dea29e 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -213,13 +213,13 @@ define dump_bucket_ex
else
printmemn $data $datalen
end
+ printf "]"
+ while $datalen < 20
+ printf " "
+ set $datalen = $datalen + 1
+ end
else
- printf "Invalid addresss %12lx", $data
- end
- printf "]"
- while $datalen < 20
- printf " "
- set $datalen = $datalen + 1
+ printf "Iv addr %12lx]", $data
end
if $refcount != -1