日期:2014-05-16  浏览次数:20461 次

gdb调试nginx要点
1. 生成Makefile后,修改objs/Makefile 将-O改成-g3

2.修改nginx.conf,加上这两句
daemon off;
master_process off;

3. gdb nginx