Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gdb - thread log

Tags:

gdb

While I trying to debug a 'C' program with gdb, I always get the following continuously on the gdb console.

[Thread 0xb7fe4b70 (LWP 30576) exited] [New Thread 0xb7fe4b70 (LWP 30577)] [Thread 0xb7fe4b70 (LWP 30577) exited] [New Thread 0xb7fe4b70 (LWP 30578)] [Thread 0xb7fe4b70 (LWP 30578) exited]

Is there any reason why this is printed? And anyway to block this?

note: the program makes use of timers. Is that a possible cause?

like image 539
sthustfo Avatar asked Apr 12 '10 03:04

sthustfo


1 Answers

set print thread-events off

like image 196
Jack Avatar answered Sep 28 '22 04:09

Jack