一直帮老板搬运代码!!!
全部博文(116)
分类: LINUX
2013-01-24 15:33:32
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 pass