This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 8 bit read
- To: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: 8 bit read
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 26 Jul 2001 19:26:29 +0300 (IDT)
- cc: Andrew Cagney <ac131313 at cygnus dot com>, Naushit_Sakarvadia at quintum dot com, gdb at sources dot redhat dot com
On Thu, 26 Jul 2001, Kevin Buettner wrote:
> I think if you review the mailing list archives, you'll find that more
> than one person has suggested turning CORE_ADDR into a struct.
Yes, I remember.
> What would such a struct look like? Maybe something like this:
>
> struct core_addr
> {
> bfd_vma addr; /* what we have now... */
> int addr_space; /* address space selector */
> /* maybe this should be an enum? */
> };
> typedef struct core_addr CORE_ADDR;
If I see any practical plans to switch to such a representation, I'd sure
hold my breath ;-)