This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 8 bit read
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>, Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: 8 bit read
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 24 Jul 2001 09:25:31 -0700
- Cc: Naushit Sakarvadia <Naushit_Sakarvadia at quintum dot com>, gdb at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010724145016.1341T-100000@is>
On Jul 24, 2:50pm, Eli Zaretskii wrote:
> On Mon, 23 Jul 2001, Andrew Cagney wrote:
>
> > FYI, J.T.C. was working on infrastructure to teach GDB about memory
> > attributes. A basic framework is in place only nothing uses it.
> > I believe his next step was to extend the protocol so that memory
> > packets could include things like the read size.
>
> I think we also need some programmatic interface to define memory
> attributes. Right now, the only way to do that is with an interactive
> command, because the rest of the interface is private to memattr.c.
>
> I was thinking about using memory attributes to allow GDB access to
> segments outside the normal address space of the program being
> debugged. This would need some additions to the memory attributes,
> but the real show-stopper is that there's no way to define regions and
> attributes except interactively.
Why is this a show stopper? A sequence of commands which define
attributes for different memory ranges can be placed in a file and
then sourced...
Kevin