From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfa, v3] Fix inferior calls during interrupted system calls on PowerPC
Date: Sat, 03 May 2008 16:19:00 -0000 [thread overview]
Message-ID: <20080503155502.GA22851@caradoc.them.org> (raw)
In-Reply-To: <200805031531.m43FVZur011320@d12av02.megacenter.de.ibm.com>
On Sat, May 03, 2008 at 05:31:35PM +0200, Ulrich Weigand wrote:
> - powerpc-32.xml and powerpc-64.xml used to provide AltiVec registers,
> and now they don't. To compensate for that, I've switched the generic
> "powerpc" and "powerpc64" targets in rs6000.c:variants back to use
> the new AltiVec target descriptions.
>
> However, I'm wondering why those were using AltiVec in the first place;
> shouldn't the generic description be compatible with old gdbserver
> implementations (that do not use AltiVec)?
This is just how GDB worked before my XML conversion, so I left it
alone. The "powerpc" variant in rs6000-tdep.c included AltiVec and I
wanted to leave it that way. It's quite possible we could clean it up
now.
> - In the SPE register set for gdbserver, register numbers 71 and 72 were
> already used for "acc" and "spefscr". As it is much simpler to always
> use the same numbers for "orig_r3" and "trap", I've moved those SPE
> registers to 73 and 74. I *think* this shouldn't break anything as
> those numbers were only ever used with XML target descriptions ...
Yes, this is OK. Giving them 73 and 74 should work too - the script
will generate "0:" as appropriate to make things line up.
> - Should we attempt to detect SPE registers in core files?
I don't know how SPE registers are dumped, offhand. We can fix this
up later.
The patch looks OK to me.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-05-03 15:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 19:34 [rfc] " Ulrich Weigand
2008-04-25 16:16 ` [rfa, v2] " Ulrich Weigand
2008-05-02 14:38 ` Daniel Jacobowitz
2008-05-03 15:55 ` [rfa, v3] " Ulrich Weigand
2008-05-03 16:19 ` Daniel Jacobowitz [this message]
2008-05-03 19:56 ` Ulrich Weigand
2008-05-11 20:04 ` Ulrich Weigand
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=20080503155502.GA22851@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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