45 Commits

Author SHA1 Message Date
5e492d9758 * .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
2023-01-09 10:09:46 +00:00
8d4133f1c1 * Improve formating and aligning [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879384 13f79535-47bb-0310-9956-ffa450edef68
2020-06-30 20:23:52 +00:00
72f12552f9 * Use isValidAddress when dumping buckets [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879383 13f79535-47bb-0310-9956-ffa450edef68
2020-06-30 20:16:19 +00:00
ce5c1daf2f * Create helper function isValidAddress to determine if an address is valid [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879382 13f79535-47bb-0310-9956-ffa450edef68
2020-06-30 20:14:36 +00:00
ae6c0815fe * Let dump_brigade print the length of the brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879381 13f79535-47bb-0310-9956-ffa450edef68
2020-06-30 19:34:10 +00:00
687aa79070 .gdbinit: fix dump_table indentation [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878265 13f79535-47bb-0310-9956-ffa450edef68
2020-05-29 09:07:18 +00:00
168688d080 .gdbinit: tabs to spaces [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878263 13f79535-47bb-0310-9956-ffa450edef68
2020-05-29 08:56:55 +00:00
c3db73ca8a .gdbinit: better dump_pool_and_children indentation [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878262 13f79535-47bb-0310-9956-ffa450edef68
2020-05-29 08:33:20 +00:00
b41fe7c4bb .gdbinit: no child_cleanup_fn for pre_cleanups [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878249 13f79535-47bb-0310-9956-ffa450edef68
2020-05-28 20:41:20 +00:00
2c239a7240 .gdbinit: fix copy/paste dup [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878248 13f79535-47bb-0310-9956-ffa450edef68
2020-05-28 20:31:09 +00:00
626cafd68a .gdbinit: dump pool (pre_)cleanups [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878247 13f79535-47bb-0310-9956-ffa450edef68
2020-05-28 19:54:02 +00:00
6792af8573 .gdbinit: align columns [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878140 13f79535-47bb-0310-9956-ffa450edef68
2020-05-26 22:44:01 +00:00
3366c057cf gdbinit: print bucket fd when available.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876679 13f79535-47bb-0310-9956-ffa450edef68
2020-04-17 17:53:19 +00:00
bd7b09ce7c 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
2020-04-17 17:52:24 +00:00
7a3404c671 * Use a loop instead of recursion to iterate over pool siblings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874723 13f79535-47bb-0310-9956-ffa450edef68
2020-03-03 14:12:39 +00:00
cb8c40c581 * Make it obsolete to supply a starting pool
Improve dump_all_pools by making it obsolete to supply a starting pool.
  If the parameter is not supplied ap_pglobal which is a global symbol is
  used as starting pool.
  The pool parameter is still accepted and considered for backwards
  compatibility or if ap_pglobal cannot be resolved.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1866078 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 14:53:04 +00:00
583d381791 * Add a command to dump some data from the scoreboard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1844889 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 10:24:17 +00:00
a597c1fed2 Dump server_rec ->addrs list in dump_server_rec.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1829048 13f79535-47bb-0310-9956-ffa450edef68
2018-04-13 09:36:01 +00:00
c968b5dea2 * Make it compatible with Python 3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811570 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 13:50:15 +00:00
b269faedaa * The calculation of the sizes was flawed:
The index tells us the size of the node in 4096 byte pages minus 1.
  Hence we need to multiply back with 4096 aka << 12 (plus adding the
  missing page).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811569 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 13:30:26 +00:00
22b4d25f76 * Convert to int before using
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811541 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 08:58:57 +00:00
f72e5b64d0 * It needs to be the dereferenced node
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811540 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 08:58:03 +00:00
94bfc3654c * Take the pointer from Yann: s/childs/children/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-06 06:25:27 +00:00
6bbd435974 * Add dump_all_pools and dump_pool_and_childs.
- dump_all_pools: Dump the whole pool hierarchy starting from apr_global_pool.
                    Requires an arbitrary pool as starting parameter.
  - dump_pool_and_childs: Dump the whole pool hierarchy starting from
                          the given pool.

  dump_pool_and_childs is written in Python using the GDB Python API
  as doing recursive stuff in standard GDB macros is very difficult.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811192 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 12:01:25 +00:00
cbfd141873 * Correctly dump pools that have no tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808671 13f79535-47bb-0310-9956-ffa450edef68
2017-09-18 07:23:43 +00:00
7249bf5075 .gdbinit: Add dump_skiplist.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1666617 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 23:59:42 +00:00
46afd8fd2e improve dump_allocator, add dump_one_pool
- dump_one_pool dumps the size of a pool not including child pools
- dump_allocator now dumps the size of the memnodes and not the last used
  free size. Also dump the total size.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1352909 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 14:55:07 +00:00
2cbd2e5add * .gdbinit: Add dump_request_tree macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059357 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 15:21:54 +00:00
d62fcb0162 * .gdbinit: You are in a maze of twisty little subrequests, all alike...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952560 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 07:54:26 +00:00
e1119473f3 * .gdbinit: Add dump_filter_chain macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952361 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 18:43:06 +00:00
8d0a31ea15 * .gdbinit (dump_table): Dump pointer value of table entries,
sometimes useful.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@773039 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 16:01:11 +00:00
aabb0ffb84 * .gdbinit: Add a few useful macros, and set defaults
for signal handling appropriate for httpd debugging.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@549136 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 15:30:39 +00:00
6a41fe8e45 * .gdbinit (dump_table): Handle NULL value pointers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126286 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 14:51:45 +00:00
3a3ecb8b08 fix some declarations so dump_bucket and dump_brigade will work in gdb-5.3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100957 13f79535-47bb-0310-9956-ffa450edef68
2003-08-09 20:28:07 +00:00
889085f1bc formatting buglet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94774 13f79535-47bb-0310-9956-ffa450edef68
2002-04-23 22:52:16 +00:00
0523f0671a Whoops, NULL is a macro, hence not available here
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94772 13f79535-47bb-0310-9956-ffa450edef68
2002-04-23 22:15:56 +00:00
36a70b055f A *major* upgrade for the dump_brigade and dump_bucket gdb macros.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94602 13f79535-47bb-0310-9956-ffa450edef68
2002-04-11 04:39:05 +00:00
a0f56323d1 macros for dumping the list of server_recs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92116 13f79535-47bb-0310-9956-ffa450edef68
2001-11-22 01:07:38 +00:00
2b8cc6f60f add dump_filters macro for printing r->{input,output}_filters chain info
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89598 13f79535-47bb-0310-9956-ffa450edef68
2001-07-18 18:44:45 +00:00
b2c816e467 adjust to namechanges
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87782 13f79535-47bb-0310-9956-ffa450edef68
2001-01-21 19:47:39 +00:00
c4aec067a1 handy alias
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87716 13f79535-47bb-0310-9956-ffa450edef68
2001-01-18 20:11:25 +00:00
5d4e51091e add dump_{bucket,brigade} macros
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87566 13f79535-47bb-0310-9956-ffa450edef68
2001-01-02 05:02:33 +00:00
694d5f913f update this lil gem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87445 13f79535-47bb-0310-9956-ffa450edef68
2000-12-20 05:38:34 +00:00
96f8ecb70b A run alias for personal use.
Submitted by:	Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83761 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 06:23:55 +00:00
77c2776832 Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83748 13f79535-47bb-0310-9956-ffa450edef68
1999-08-24 05:34:15 +00:00