Debuging threaded applications

Tavian Barnes tavianator@gmail.com
Sat Jan 27 21:36:00 GMT 2007


I looked in the source code.  In linux-thread-db.c, all the calls to
attach_thread and detach_thread have verbose=1.  Replacing the 1s with
0s solved the problem.

On 1/27/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Sat, Jan 27, 2007 at 12:38:47PM -0700, Tavian Barnes wrote:
> > When debuging multi-threaded applications, is there any way to disable
> > the [New Thread...] and [Thread ... exited] messages?  In a program
> > that uses lots of threads, these messages get in the way, and slow
> > down the debuging.  Thanks.
>
> No, there's currently no way to do this.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>



More information about the Gdb mailing list