This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Harvard Architecture issues -- addresses vs pointers
- To: gdb at sourceware dot cygnus dot com
- Subject: Re: Harvard Architecture issues -- addresses vs pointers
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Thu, 8 Feb 2001 14:14:32 -0700
- References: <200102082050.PAA07793@texas.cygnus.com>
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.