]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1876678 from trunk:
authorRuediger Pluem <rpluem@apache.org>
Tue, 2 Jun 2020 11:14:36 +0000 (11:14 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 2 Jun 2020 11:14:36 +0000 (11:14 +0000)
gdbinit: more address colomn space for 64bit.
Submitted by: ylavic
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1878391 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index 0a3d88326a3ef71deb3786b43ee0d1978fa9602b..2a3dddad35c217bac6e8c1ad4d4c9f6879f2291d 100644 (file)
--- 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