根据apache
官方文档,执行如下操作,最后发起请求都不触发到breakpoint,表示很困惑,有人遇到过相似问题吗?求指教。。
$gdb /root/httpd-2.4.2/httpd
(gdb) b ap_process_request
(gdb) run -X -d /usr/local/apache2
Starting program: /root/httpd-2.4.2/httpd -X -d /usr/local/apache2
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ccb8c0 (LWP 5483)]
[New Thread 0xb7c0bb90 (LWP 5484)]
[New Thread 0xb740ab90 (LWP 5485)]
[New Thread 0xb6c09b90 (LWP 5486)]
[New Thread 0xb6408b90 (LWP 5487)]
[New Thread 0xb5c07b90 (LWP 5488)]
[New Thread 0xb5406b90 (LWP 5489)]
[New Thread 0xb4c05b90 (LWP 5490)]
[New Thread 0xb4404b90 (LWP 5491)]
[New Thread 0xb3c03b90 (LWP 5492)]
[New Thread 0xb3402b90 (LWP 5493)]
[New Thread 0xb2c01b90 (LWP 5494)]
[New Thread 0xb2400b90 (LWP 5495)]
[New Thread 0xb1bffb90 (LWP 5496)]
[New Thread 0xb13feb90 (LWP 5497)]
[New Thread 0xb0bfdb90 (LWP 5498)]
[New Thread 0xb03fcb90 (LWP 5499)]
[New Thread 0xafbfbb90 (LWP 5500)]
[New Thread 0xaf3fab90 (LWP 5501)]
[New Thread 0xaebf9b90 (LWP 5502)]
[New Thread 0xae3f8b90 (LWP 5503)]
[New Thread 0xadbf7b90 (LWP 5504)]
[New Thread 0xad3f6b90 (LWP 5505)]
[New Thread 0xacbf5b90 (LWP 5506)]
[New Thread 0xac3f4b90 (LWP 5507)]
[New Thread 0xabbf3b90 (LWP 5508)]
[New Thread 0xab3f2b90 (LWP 5509)]
[New Thread 0xaabf1b90 (LWP 5510)]
[Thread 0xb7c0bb90 (LWP 5484) exited]
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!