This is the mail archive of the gdb-patches@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]
Other format: [Raw text]

Re: [patch rfc] Add frame memory & arch methods


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


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