mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
2011-09-13 Pedro Alves <pedro@codesourcery.com>
* inferior.h (ALL_INFERIORS): New. * linux-thread-db.c (thread_db_find_new_threads_2): Remove check for a stopped thread. (thread_db_find_new_threads): Look for threads in all inferiors.
This commit is contained in:
@ -615,6 +615,11 @@ extern void set_current_inferior (struct inferior *);
|
||||
|
||||
extern struct cleanup *save_current_inferior (void);
|
||||
|
||||
/* Traverse all inferiors. */
|
||||
|
||||
#define ALL_INFERIORS(I) \
|
||||
for ((I) = inferior_list; (I); (I) = (I)->next)
|
||||
|
||||
extern struct inferior *inferior_list;
|
||||
|
||||
/* Prune away automatically added inferiors that aren't required
|
||||
|
Reference in New Issue
Block a user