projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2008-05-03 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git]
/
gdb
/
linux-nat.c
diff --git
a/gdb/linux-nat.c
b/gdb/linux-nat.c
index 246712cb5a71e9789df713c9eeffc1847923bad8..4b6c6142abffbffeb7ad4717426d204d78a9bb60 100644
(file)
--- a/
gdb/linux-nat.c
+++ b/
gdb/linux-nat.c
@@
-1022,7
+1022,9
@@
prune_lwps (void)
static void
exit_lwp (struct lwp_info *lp)
{
- if (in_thread_list (lp->ptid))
+ struct thread_info *th = find_thread_pid (lp->ptid);
+
+ if (th)
{
if (print_thread_events)
printf_unfiltered (_("[%s exited]\n"), target_pid_to_str (lp->ptid));
This page took
0.024142 seconds
and
4
git commands to generate.