aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-11-25 02:11:19 +0000
committerPedro Alves <palves@redhat.com>2008-11-25 02:11:19 +0000
commitea8a5b23f235c69680d60f81283aace555c7c5ad (patch)
tree8e311b83935f2af728ed85958647032f99efda69
parent9d0015d5521134d51ee20abb685d83bdf8b41560 (diff)
downloadgdb-ea8a5b23f235c69680d60f81283aace555c7c5ad.zip
gdb-ea8a5b23f235c69680d60f81283aace555c7c5ad.tar.gz
gdb-ea8a5b23f235c69680d60f81283aace555c7c5ad.tar.bz2
* inferior.c (itset_member): Fix typo again.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inferior.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c6fccba..88de57e 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 b2a8bf6..28da12d 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;
}