From: Pedro Alves Date: Tue, 25 Nov 2008 02:11:19 +0000 (+0000) Subject: * inferior.c (itset_member): Fix typo again. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea8a5b23f235c69680d60f81283aace555c7c5ad;p=thirdparty%2Fbinutils-gdb.git * inferior.c (itset_member): Fix typo again. --- 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 + + * inferior.c (itset_member): Fix typo again. + 2008-11-24 Tom Tromey * 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; }