You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2023/01/09 10:09:47 UTC
svn commit: r1906481 - /httpd/httpd/trunk/.gdbinit
Author: jorton
Date: Mon Jan 9 10:09:46 2023
New Revision: 1906481
URL: http://svn.apache.org/viewvc?rev=1906481&view=rev
Log:
* .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.
Modified:
httpd/httpd/trunk/.gdbinit
Modified: httpd/httpd/trunk/.gdbinit
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.gdbinit?rev=1906481&r1=1906480&r2=1906481&view=diff
==============================================================================
--- httpd/httpd/trunk/.gdbinit (original)
+++ httpd/httpd/trunk/.gdbinit Mon Jan 9 10:09:46 2023
@@ -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