大龙的博客

常用链接

统计

最新评论

GDB: Program received signal SIGPIPE, Broken pipe.

By default, gdb captures SIGPIPE of a process and pauses it. However, some program ignores SIGPIPE. So, the default behavour of gdb is not desired when debugging those program. To avoid gdb stopping in SIGPIPE, use the following command in gdb:
handle SIGPIPE nostop noprint nopass 或 handle SIGPIPE nostop noprint pass

posted on 2011-12-06 22:30 大龙 阅读(1370) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理