You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/10/30 03:39:23 UTC

svn commit: r1869143 - /httpd/site/trunk/content/dev/debugging.mdtext

Author: jailletc36
Date: Wed Oct 30 03:39:23 2019
New Revision: 1869143

URL: http://svn.apache.org/viewvc?rev=1869143&view=rev
Log:
Revert previous commits

Modified:
    httpd/site/trunk/content/dev/debugging.mdtext

Modified: httpd/site/trunk/content/dev/debugging.mdtext
URL: http://svn.apache.org/viewvc/httpd/site/trunk/content/dev/debugging.mdtext?rev=1869143&r1=1869142&r2=1869143&view=diff
==============================================================================
--- httpd/site/trunk/content/dev/debugging.mdtext (original)
+++ httpd/site/trunk/content/dev/debugging.mdtext Wed Oct 30 03:39:23 2019
@@ -61,61 +61,61 @@ The following example, with <font color=
 shows the output of gdb run on a server executable (httpd) in the current
 working directory and using the server root of `/usr/local/apache` :
 <pre>
-    % <font color="green">gdb httpd</font>
+    % gdb httpd
     GDB is free software and you are welcome to distribute copies of it
      under certain conditions; type "show copying" to see the conditions.
     There is absolutely no warranty for GDB; type "show warranty" for
     details.
     GDB 4.16.gnat.1.13 (sparc-sun-solaris2.5), 
     Copyright 1996 Free Software Foundation, Inc...
-    (gdb) <font color="green">b ap_process_request</font>
+    (gdb) b ap_process_request
     Breakpoint 1 at 0x49fb4: file http_request.c, line 1164.
-    (gdb) <font color="green">run -X -d /usr/local/apache</font>
+    (gdb) run -X -d /usr/local/apache
     Starting program: /usr/local/apache/src/httpd -X -d /usr/local/apache
- 
-    [ at this point I make a request from another window ]
- 
+
+    [at this point I make a request from another window]
+
     Breakpoint 1, ap_process_request (r=0x95250) at http_request.c:1164
     1164	if (ap_extended_status)
-    (gdb) <font color="green">s</font>
+    (gdb) s
     1165	   
     ap_time_process_request(r-&gt;connection-&gt;child_num,...
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1167	process_request_internal(r);
-    (gdb) <font color="green">s</font>
+    (gdb) s
     process_request_internal (r=0x95250) at http_request.c:1028
     1028	if (!r-&gt;proxyreq &amp;&amp; r-&gt;parsed_uri.path) {
-    (gdb) <font color="green">s</font>
+    (gdb) s
     1029	    access_status = ap_unescape_url(r-&gt;parsed_uri.path);
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1030	    if (access_status) {
-    (gdb) <font color="green">s</font>
+    (gdb) s
     1036	ap_getparents(r-&gt;uri);     /* OK...
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1038	if ((access_status = location_walk(r))) {
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1043	if ((access_status = ap_translate_name(r))) {
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1048	if (!r-&gt;proxyreq) {
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1053	    if (r-&gt;method_number == M_TRACE) {
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1062	if (r-&gt;proto_num &gt; HTTP_VERSION(1,0) &amp;&amp;
     ap_...
-    (gdb) <font color="green">n</font>
+    (gdb) n
     1071	if ((access_status = directory_walk(r))) {
-    (gdb) <font color="green">s</font>
+    (gdb) s
     directory_walk (r=0x95250) at http_request.c:288
     288 	core_server_config *sconf = ap_get_module_...
-    (gdb) <font color="green">b ap_send_error_response</font>
+    (gdb) b ap_send_error_response
     Breakpoint 2 at 0x47dcc: file http_protocol.c, line 2090.
-    (gdb) <font color="green">c</font>
+    (gdb) c
     Continuing.
 
     Breakpoint 2, ap_send_error_response (r=0x95250, recursive_error=0)
 	at http_protocol.c:2090
     2090	BUFF *fd = r-&gt;connection-&gt;client;
-    (gdb) <font color="green">where</font>
+    (gdb) where
     #0	ap_send_error_response (r=0x95250, recursive_error=0)
 	at http_protocol.c:2090
     #1	0x49b10 in ap_die (type=403, r=0x95250) at http_request.c:989
@@ -132,9 +132,9 @@ working directory and using the server r
     #8	0x44260 in standalone_main (argc=392552, argv=0x75800) at
     http_main.c:4250
     #9	0x449fc in main (argc=4, argv=0xefffee8c) at http_main.c:4534
-    (gdb) <font color="green">s</font>
+    (gdb) s
     2091	int status = r-&gt;status;
-    (gdb) <font color="green">p status</font>
+    (gdb) p status
     $1 = 403
     (gdb) 
 </pre>