This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: 0xa.... and signed addresses
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: 0xa.... and signed addresses
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 17 Jul 2000 11:36:01 +1000
- CC: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <396EC9F9.34DD3BDC@cygnus.com> <396F7A5B.467E@cygnus.com>
Michael Snyder wrote:
>
> Andrew, you can fight it, but you're eventually going to
> end up having to consider TARGET_SIGN_EXTENDS_ADDR.
We will fight them on the ...
The POINTER_TO_ADDRESS() and ADDRESS_TO_POINTER() methods have hopefully
eliminated much of the problem - they let the target ISA do addresses
<-> pointer translations in arbitrary ways. The other half of this -
translating pointer/address <-> printable numeric still being resolved.
I'm committing the patch along with a note explaining how it is ~99%
right. It doesn't quite get the more exotic pure harvard architectures
right.
Andrew