This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [multiprocess/multiexec] fix typo
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 25 Nov 2008 02:17:51 +0000
- Subject: Re: [multiprocess/multiexec] fix typo
- References: <200811250215.08134.pedro@codesourcery.com>
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;
}