info threads (gdb モードのみ)

すべてのスレッドを出力します。

構文

info threads

パラメーター

なし。

説明

このコマンドは、次の情報を含む、デバッグ対象のスレッドのリストを出力します。

スレッド ID の前のアスタリスク (*) は現在のスレッドを示します。

(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

関連情報


このヘルプトピックについてのフィードバックを送信