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: RFA: addresses and pointers may be different sizes while printing



Andrew Cagney <ac131313@cygnus.com> writes:
> I think that is still too vague and fuzzy.  There needs to be a concrete 
> example and a testcase.
> 
> These are probably something to do separate to these patches but they do 
> need doing.  At present, there is nothing explaining (and testing) GDB's 
> behavour on a harvard architecture.

Oh, I got confused.  What I posted there was a rationale for my change
to value_cast, which (I think) is more than adequately documented with
the patch above.  What you want is an explanation of our whole
philosophy regarding pointers, addresses, separate address spaces, and
so on.

I'll chew on it.  Perhaps now's the time to restart the discussion of
Harvard Architecture machines, put together a coherent picture of how
things are supposed to behave, and document it.

In the meantime, can my change go in?  :)


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