From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: [PATCH] %g0 on sparc should always be available
Date: Sun, 22 May 2011 11:17:00 -0000 [thread overview]
Message-ID: <201105221217.12418.pedro@codesourcery.com> (raw)
In-Reply-To: <201105211919.p4LJJn5Z013541@glazunov.sibelius.xs4all.nl>
On Saturday 21 May 2011 20:19:49, Mark Kettenis wrote:
> Many RISC CPUs have a register that's hardwired to 0. Typically GDB
> code uses regcache_raw_supply(..., ..., NULL) to "transfer" the value
> of such a register. However these days, that marks the register as
> unavailable. This diff fixes that for %g0 on SPARC.
>
> Committed as obvious.
Thanks! The <unavailable> stuff is going into 7.3 as well. Want
to put the patch there too?
(I see alpha-tdep.c needs the same treatment for ALPHA_ZERO_REGNUM.)
--
Pedro Alves
next prev parent reply other threads:[~2011-05-22 11:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 19:20 Mark Kettenis
2011-05-22 11:17 ` Pedro Alves [this message]
2011-05-23 17:36 ` $zero on alpha " Pedro Alves
2011-05-24 4:44 ` Joel Brobecker
2011-05-24 11:16 ` Pedro Alves
2011-05-25 20:51 ` Joel Brobecker
2011-05-26 14:16 ` Pedro Alves
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=201105221217.12418.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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