我如何禁用gdb中的新线程/线程退出的消息?

我正在debugging一个Gtk +应用程序,我收到了很多这样的消息:

[New Thread 0x7fffde152700 (LWP 11142)] [Thread 0x7fffde152700 (LWP 11142) exited] [New Thread 0x7fff967fa700 (LWP 11143)] [Thread 0x7fff967fa700 (LWP 11143) exited] [New Thread 0x7fff967fa700 (LWP 11144)] [Thread 0x7fff967fa700 (LWP 11144) exited] [New Thread 0x7fff967fa700 (LWP 11145)] [Thread 0x7fff967fa700 (LWP 11145) exited] [New Thread 0x7fffde152700 (LWP 11146)] [Thread 0x7fffde152700 (LWP 11146) exited] [New Thread 0x7fffde152700 (LWP 11147)] [Thread 0x7fffde152700 (LWP 11147) exited] [New Thread 0x7fffde152700 (LWP 11148)] [Thread 0x7fffde152700 (LWP 11148) exited] [New Thread 0x7fffde152700 (LWP 11149)] [Thread 0x7fffde152700 (LWP 11149) exited] [New Thread 0x7fffde152700 (LWP 11150)] [Thread 0x7fffde152700 (LWP 11150) exited] [New Thread 0x7fffde152700 (LWP 11151)] [Thread 0x7fffde152700 (LWP 11151) exited] [New Thread 0x7fffde152700 (LWP 11152)] [Thread 0x7fffde152700 (LWP 11152) exited] [New Thread 0x7fffde152700 (LWP 11153)] [Thread 0x7fffde152700 (LWP 11153) exited] [New Thread 0x7fffde152700 (LWP 11154)] [Thread 0x7fffde152700 (LWP 11154) exited] [New Thread 0x7fff967fa700 (LWP 11155)] [Thread 0x7fff967fa700 (LWP 11155) exited] [New Thread 0x7fffde152700 (LWP 11156)] [Thread 0x7fffde152700 (LWP 11156) exited] [New Thread 0x7fffde152700 (LWP 11157)] [Thread 0x7fffde152700 (LWP 11157) exited] 

我几乎从来没有对这个消息感兴趣,他们使得阅读剩下的输出变得更加困难。 我如何禁用这些消息?

运行gdb时可以closures线程事件:

 set print thread-events off