summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-04-17 19:52:24 +0200
committerYann Ylavic <ylavic@apache.org>2020-04-17 19:52:24 +0200
commitbd7b09ce7ca9f066dd89f0a1a8f06c559bdf85f6 (patch)
tree9572e6a2526f16ebcddd14128b55a47f502fa5d1 /.gdbinit
parentmod_watchdog: use a single "wd_running" pool in wd_worker() thread. (diff)
downloadapache2-bd7b09ce7ca9f066dd89f0a1a8f06c559bdf85f6.tar.xz
apache2-bd7b09ce7ca9f066dd89f0a1a8f06c559bdf85f6.zip
gdbinit: more address colomn space for 64bit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gdbinit b/.gdbinit
index 0a3d88326a..2a3dddad35 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -125,9 +125,9 @@ define dump_bucket_ex
set $refcount = -1
print_bkt_datacol "bucket" "%-9s" $bucket->type->name $sh
- printf "(0x%08lx)", (unsigned long)$bucket
+ printf "(%12lx)", (unsigned long)$bucket
print_bkt_datacol "length" "%-6ld" (long)($bucket->length) $sh
- print_bkt_datacol "data" "0x%08lx" $bucket->data $sh
+ print_bkt_datacol "data" "%12lx" $bucket->data $sh
if !$sh
printf "\n "
@@ -257,9 +257,9 @@ define dump_brigade
- ((size_t) &((struct apr_bucket *)0)->link)))
printf "dump of brigade 0x%lx\n", (unsigned long)$bb
- printf " | type (address) | length | "
- printf "data addr | contents | rc\n"
- printf "----------------------------------------"
+ printf " | type (address) | length | "
+ printf "data address | contents | rc\n"
+ printf "------------------------------------------"
printf "----------------------------------------\n"
if $bucket == $sentinel