This is the mail archive of the gdb@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: Harvard Architecture issues -- addresses vs pointers


On Feb 8,  3:50pm, David Taylor wrote:

> I feel that a user address should always mean the same thing.
> And that, for example,
> 
>     x/x 0x12345678
> 
>     x/i 0x12345678
> 
> should both read the same set of bytes from the target.  That the
> interpretation of 0x12345678 -- as a specific location within a
> specific address space -- should not depend upon whether the user
> typed /x or /i.  That it should not be the case that one returns
> something from the data space and the other from the instruction
> space.

I agree with David.

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