Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: Re: [multiprocess/multiexec] fix typo
Date: Tue, 25 Nov 2008 17:35:00 -0000	[thread overview]
Message-ID: <200811250217.51186.pedro@codesourcery.com> (raw)
In-Reply-To: <200811250215.08134.pedro@codesourcery.com>

[-- 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;
       }

      reply	other threads:[~2008-11-25  2:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 17:27 Pedro Alves
2008-11-25 17:35 ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811250217.51186.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox