diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-11-25 02:11:18 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-11-25 02:11:18 +0000 |
commit | cad85e9de920700d4e2b58e2f351e802ac068ace (patch) | |
tree | 998b0cc9bcd696ab9a2d7a2f017beb9a14b1ced7 | |
parent | 7cd304f3b0c9d52edfd22ab1549ced1dd917421c (diff) | |
download | gdb-cad85e9de920700d4e2b58e2f351e802ac068ace.tar.gz |
* inferior.c (itset_member): Fix typo again.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/inferior.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6fccba5eb1..88de57eb120 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-11-25 Pedro Alves <pedro@codesourcery.com> + + * inferior.c (itset_member): Fix typo again. + 2008-11-24 Tom Tromey <tromey@redhat.com> * inferior.h (number_of_inferiors, first_inferior_in_set, diff --git a/gdb/inferior.c b/gdb/inferior.c index b2a8bf6ade4..28da12df72b 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -1028,7 +1028,7 @@ itset_member (struct itset *itset, struct inferior *inf, int thread_id) for (ix = 0; VEC_iterate (itset_entry, itset->inferiors, ix, entry); ++ix) if (inf == entry->inferior) { - for (iy = 0; VEC_iterate (thread_p, entry->threads, iy, thr); ++ix) + for (iy = 0; VEC_iterate (thread_p, entry->threads, iy, thr); ++iy) if (thread_id == thr->num) return 1; } |