From d43eaabd1e224b6225de03762736c20abd18a0d7 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Wed, 15 Aug 2007 23:37:13 +0000 Subject: [PATCH] add docs --- ext/phar/gdbhelp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ext/phar/gdbhelp b/ext/phar/gdbhelp index 38ab5f465dd..16e28058985 100644 --- a/ext/phar/gdbhelp +++ b/ext/phar/gdbhelp @@ -41,6 +41,10 @@ define print_phar printf "}\n" end +document print_phar + dumps open phars and their aliases +end + define print_pharfp ___pharglobals set $ht = $pharglobals.phar_fname_map @@ -68,4 +72,8 @@ define print_pharfp set $p = $p->pListNext end printf "Open file pointers: %d\n", $fpcount +end + +document print_pharfp + displays all open file pointers in phar, and the phars plus entries that are open with reference counts end \ No newline at end of file