This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [multiprocess/multiexec] fix typo


On Tuesday 25 November 2008 02:15:08, Pedro Alves wrote:
> I fixed this before, but it got dropped in the merge to
> the FSF branch, so I get the luxury of fixing it twice.  :-)

Ahem, I meant this.

-- 
Pedro Alves
2008-11-25  Pedro Alves  <pedro@codesourcery.com>

	* inferior.c (itset_member): Fix typo again.

---
 gdb/inferior.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/inferior.c
===================================================================
--- src.orig/gdb/inferior.c	2008-11-25 02:06:51.000000000 +0000
+++ src/gdb/inferior.c	2008-11-25 02:07:24.000000000 +0000
@@ -1028,7 +1028,7 @@ itset_member (struct itset *itset, struc
   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;
       }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]