This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 0xa.... and signed addresses


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]