Name

thread

thread threadnum
thread apply [threadnum | all] command

The first form makes threadnum the current thread—i.e., the one with which GDB works. The second form lets you apply command to either the specific thread threadnum or to all threads.

Get GDB Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.