summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2000-12-20 06:38:34 +0100
committerDoug MacEachern <dougm@apache.org>2000-12-20 06:38:34 +0100
commit694d5f913fc7db3d93f97240ee4be31e08da3680 (patch)
tree1b08221add9074e8b478bc184bdcf9a1c8fc4181 /.gdbinit
parentAdd the config.layout page back. (diff)
downloadapache2-694d5f913fc7db3d93f97240ee4be31e08da3680.tar.xz
apache2-694d5f913fc7db3d93f97240ee4be31e08da3680.zip
update this lil gem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gdbinit b/.gdbinit
index 4ab8336971..510be716f2 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -2,8 +2,8 @@
# apache. Delete it if it bothers you.
define dump_table
- set $t = (table_entry *)((array_header *)$arg0)->elts
- set $n = ((array_header *)$arg0)->nelts
+ set $t = (apr_table_entry_t *)((apr_array_header_t *)$arg0)->elts
+ set $n = ((apr_array_header_t *)$arg0)->nelts
set $i = 0
while $i < $n
printf "[%u] '%s'='%s'\n", $i, $t[$i].key, $t[$i].val
@@ -20,8 +20,8 @@ define rh
end
define dump_string_array
- set $a = (char **)((array_header *)$arg0)->elts
- set $n = (int)((array_header *)$arg0)->nelts
+ set $a = (char **)((apr_array_header_t *)$arg0)->elts
+ set $n = (int)((apr_array_header_t *)$arg0)->nelts
set $i = 0
while $i < $n
printf "[%u] '%s'\n", $i, $a[$i]