From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9637 invoked by alias); 25 Nov 2008 02:18:36 -0000 Received: (qmail 9614 invoked by uid 22791); 25 Nov 2008 02:18:35 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Nov 2008 02:18:00 +0000 Received: (qmail 19967 invoked from network); 25 Nov 2008 02:17:50 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Nov 2008 02:17:50 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [multiprocess/multiexec] fix typo Date: Tue, 25 Nov 2008 17:35:00 -0000 User-Agent: KMail/1.9.10 References: <200811250215.08134.pedro@codesourcery.com> In-Reply-To: <200811250215.08134.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_PB2KJkNZY75IBI/" Message-Id: <200811250217.51186.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00682.txt.bz2 --Boundary-00=_PB2KJkNZY75IBI/ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 216 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 --Boundary-00=_PB2KJkNZY75IBI/ Content-Type: text/x-diff; charset="iso 8859-15"; name="fix_typo.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_typo.diff" Content-length: 772 2008-11-25 Pedro Alves * 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; } --Boundary-00=_PB2KJkNZY75IBI/--