diff options
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 4440417..9ce2753 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -118,6 +118,8 @@ extern struct thread_info *find_thread_pid (ptid_t ptid); typedef int (*thread_callback_func) (struct thread_info *, void *); extern struct thread_info *iterate_over_threads (thread_callback_func, void *); +extern int thread_count (void); + /* infrun context switch: save the debugger state for the given thread. */ extern void save_infrun_state (ptid_t ptid, CORE_ADDR prev_pc, |