From: Richard Earnshaw <rearnsha@cambridge.arm.com>
To: Jason R Thorpe <thorpej@wasabisystems.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] arm-netbsdelf cross-debugging fixes
Date: Tue, 03 Sep 2002 12:23:00 -0000 [thread overview]
Message-ID: <200209031923.g83JN2109855@pc960.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Sun, 01 Sep 2002 16:58:43 PDT." <20020901165843.B4034@dr-evil.shagadelic.org>
> This fixes a bunch of cross-debugging issues for the arm-netbsdelf
> target, and makes it more like the other NetBSD targets I've worked
> on recently.
>
> Unfortunately, the change disables "gdb_multi_arch=yes" for the
> arm-*-netbsd* entry in configure.tgt. The reason for this is that
> the tm file needs to include "solib.h". As far as I can tell, no
> platforms with shared libraries can be fully multi-arch until all
> the solib stuff is multi-arch'd.
>
Hmm, evil thought. If I said 'no' then perhaps you'd have to go
multi-arch the solib code....
No, couldn't be that mean :-)
> I need approval for a change to the shared ARM target code. I needed
> to add a function to deconstruct/reconstruct the R15 register on the
> 26-bit ARM CPUs. The new functions:
>
> * Split a 26-bit R15 into PC and a 32-bit-format PSR.
>
> * Take a PC and a 32-bit-format PSR and combine them back
> into a 26-bit R15.
This is going to conflict horribly with my WIP for using cooked registers.
Is there any chance it can be separated out, or made less invasive?
>
> While there, I also fixed a problem with arm_addr_bits_remove -- No
> 26-bit systems can run in Thumb mode, and so doing an arm_pc_is_thumb
> on them is unnecessary (and could return incorrect results if debugging
> code which runs in FIQ mode, since (pc & 1) == FIQ mode on those CPUs).
>
Yep, that would be a good move, but it would be easier to say yes if it
were a separate patch.
R.
next prev parent reply other threads:[~2002-09-03 19:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-01 16:58 Jason R Thorpe
2002-09-02 12:56 ` Andrew Cagney
2002-09-03 12:23 ` Richard Earnshaw [this message]
2002-09-03 12:34 ` Jason R Thorpe
2002-09-04 4:10 ` Richard Earnshaw
2002-09-03 15:40 ` Jason R Thorpe
2002-09-04 2:56 ` Richard Earnshaw
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=200209031923.g83JN2109855@pc960.cambridge.arm.com \
--to=rearnsha@cambridge.arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=gdb-patches@sources.redhat.com \
--cc=thorpej@wasabisystems.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