Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: RFA: Fix off-by-one error in aix-threads.c
Date: Mon, 03 May 2004 21:03:00 -0000	[thread overview]
Message-ID: <vt2oep5i5yc.fsf@zenia.home> (raw)

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]


Maybe obvious?

2004-05-03  Jim Blandy  <jimb@redhat.com>

	* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
	with FPLAST_REGNUM.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix off-by-one error in regno comparison --]
[-- Type: text/x-patch, Size: 813 bytes --]

2004-05-03  Jim Blandy  <jimb@redhat.com>

	* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
	with FPLAST_REGNUM.

Index: gdb/aix-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/aix-thread.c,v
retrieving revision 1.16
diff -c -r1.16 aix-thread.c
*** gdb/aix-thread.c	21 Apr 2004 23:52:19 -0000	1.16
--- gdb/aix-thread.c	3 May 2004 21:01:16 -0000
***************
*** 1262,1268 ****
  {
    int regno;
  
!   for (regno = FP0_REGNUM; regno < FPLAST_REGNUM; regno++)
      if (register_cached (regno))
        regcache_collect (regno, vals + regno);
  }
--- 1262,1268 ----
  {
    int regno;
  
!   for (regno = FP0_REGNUM; regno <= FPLAST_REGNUM; regno++)
      if (register_cached (regno))
        regcache_collect (regno, vals + regno);
  }

             reply	other threads:[~2004-05-03 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-03 21:03 Jim Blandy [this message]
2004-05-04 15:47 ` Kevin Buettner
2004-05-04 17:40   ` Jim Blandy

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=vt2oep5i5yc.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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