* Re: [multiprocess/multiexec] fix typo
2008-11-25 17:27 [multiprocess/multiexec] fix typo Pedro Alves
@ 2008-11-25 17:35 ` Pedro Alves
0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2008-11-25 17:35 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
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
[-- Attachment #2: fix_typo.diff --]
[-- Type: text/x-diff, Size: 772 bytes --]
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread