From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: uweigand@de.ibm.com (Ulrich Weigand)
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc/rft] [4/4] Untangle register_addr - v2 - alpha-linux
Date: Fri, 27 Apr 2007 21:10:00 -0000 [thread overview]
Message-ID: <200704272059.l3RKx1wt000809@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200704260015.l3Q0FYiG023951@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Apr 26, 2007 02:15:34 AM
> ChangeLog:
>
> (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
I just noticed this has the FPCR register location off by one, sorry.
I've checked in the following fix.
Bye,
Ulrich
ChangeLog:
* alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
of FPCR register in fpregset.
diff -urNp gdb-orig/gdb/alpha-linux-tdep.c gdb-head/gdb/alpha-linux-tdep.c
--- gdb-orig/gdb/alpha-linux-tdep.c 2007-04-26 01:12:31.000000000 +0200
+++ gdb-head/gdb/alpha-linux-tdep.c 2007-04-27 22:40:14.396824090 +0200
@@ -175,7 +175,7 @@ alpha_linux_supply_fpregset (const struc
}
if (regnum == ALPHA_FPCR_REGNUM || regnum == -1)
- regcache_raw_supply (regcache, ALPHA_FPCR_REGNUM, regs + 32 * 8);
+ regcache_raw_supply (regcache, ALPHA_FPCR_REGNUM, regs + 31 * 8);
}
static struct regset alpha_linux_gregset =
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
prev parent reply other threads:[~2007-04-27 20:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-23 16:49 Ulrich Weigand
2007-04-27 8:02 ` Ulrich Weigand
2007-04-27 21:10 ` Ulrich Weigand [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=200704272059.l3RKx1wt000809@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.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