]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* inferior.c (itset_member): Fix typo again.
authorPedro Alves <palves@redhat.com>
Tue, 25 Nov 2008 02:11:19 +0000 (02:11 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 25 Nov 2008 02:11:19 +0000 (02:11 +0000)
gdb/ChangeLog
gdb/inferior.c

index c6fccba5eb1b80d95ebfd9beaf48772bfc49b0c2..88de57eb120eac090465c50d513f7b3bf5f184c4 100644 (file)
@@ -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,
index b2a8bf6ade4798b02831e27201356c03a0edd2b3..28da12df72b2ee7adf6626970947f0948cbd4bb3 100644 (file)
@@ -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;
       }