This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch rfc] Add frame memory & arch methods
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 2 Jun 2003 21:23:00 -0400
- Subject: Re: [patch rfc] Add frame memory & arch methods
- References: <3EDBF301.2050001@redhat.com>
On Mon, Jun 02, 2003 at 08:59:45PM -0400, Andrew Cagney wrote:
> Hello,
>
> This adds per-frame memory and architecture methods. Instead of using
> the global variablecurrent_gdbarch and the context dependant
> read_memory, architecture code can use these. Should help future proof
> architecture code should thread/target changes start happening.
>
> It uses them in the d10v.
>
> I'll commit in a few days.
Could you explain to us where you see this going? Right now it looks
like a solution without a problem. Sure, someday they may need a
target parameter, but until we're closer to that day I don't see why a
frame parameter is the way to go.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer