diff options
author | David Taylor <taylor@redhat.com> | 1997-10-24 21:04:39 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 1997-10-24 21:04:39 +0000 |
commit | 022278948f2034198be6cdc95cb4bc9b71122698 (patch) | |
tree | 5f7781a60687fb368524c0b324d5cd28a812cfaa /gdb/thread.c | |
parent | c14d0cc015fa03494f029143e529cb71cc906eec (diff) | |
download | gdb-022278948f2034198be6cdc95cb4bc9b71122698.zip gdb-022278948f2034198be6cdc95cb4bc9b71122698.tar.gz gdb-022278948f2034198be6cdc95cb4bc9b71122698.tar.bz2 |
fix for PR 13618 -- gdb incorrectly reports thread information.
If other systems besides nm-sun4sol2 exhibit the problem, they may need
definitions of FIND_NEW_THREADS and a corresponding support function.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index b8bf9e1..4c158ff 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -347,6 +347,10 @@ info_threads_command (arg, from_tty) if (!target_has_stack) error ("No stack."); prune_threads (); +#if defined(FIND_NEW_THREADS) + FIND_NEW_THREADS (); +#endif + for (tp = thread_list; tp; tp = tp->next) { if (tp->pid == current_pid) |