summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2023-01-09 10:09:46 +0000
committerJoe Orton <jorton@apache.org>2023-01-09 10:09:46 +0000
commit5e492d9758d0f2345f623cd5a5d9a3a48c131c40 (patch)
treed46ea26c28a8e6c2c73b7d0dcd31c5671922fc68 /.gdbinit
parent6fd241a51b29ef090e6ca602948e17ca9afffa6e (diff)
downloadhttpd-5e492d9758d0f2345f623cd5a5d9a3a48c131c40.tar.gz
* .gdbinit (dump_bucket_ex): Use a string comparison with the bucket
type name rather than a type pointer comparison, so this .gdbinit is usable outside httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 1988dea29e..f748b05e2f 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -142,7 +142,7 @@ define dump_bucket_ex
print_bkt_datacol "rc" "n/%c" 'a' $sh
else
- if ($bucket->type == &ap_bucket_type_error)
+ if ($_streq($bucket->type->name, "ERROR"))
# metadata bucket, no content but it does have an error code in it
print_bkt_datacol "contents" "%c" ' ' $sh