info threads (gdb mode only)

Print all threads.

Syntax

info threads

Parameters

None.

Description

This command prints a list of threads in the debuggee, including the following information:

An asterisk (*) preceding the thread ID indicates the current thread.

Example

(idb) info threads
    1 Thread 3074820864 (LWP 18872) [thawed]  0xb75a01fb in pthread_cond_wait@@GLIBC_2.3.2 from /lib/tls/libpthread-0.60.so
    2 Thread 3074804656 (LWP 18873) [thawed]  0xb75a01fb in pthread_cond_wait@@GLIBC_2.3.2 from /lib/tls/libpthread-0.60.so
    3 Thread 3064314800 (LWP 18875) [thawed]  0xb75a01fb in pthread_cond_wait@@GLIBC_2.3.2 from /lib/tls/libpthread-0.60.so
    4 Thread 3053824944 (LWP 18876) [thawed]  0xb75a01fb in pthread_cond_wait@@GLIBC_2.3.2 from /lib/tls/libpthread-0.60.so
*   5 Thread 3043335088 (LWP 18900) [thawed]  0x80487f3 in breakpoint1 at /site/spt/anmod/sandbox-for-nightly/test/idb/Thread/src/pthread_prime_numbers.c:24

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.