[rfc] [0/8] Get rid of current_gdbarch

Daniel Jacobowitz drow@false.org
Tue Oct 9 18:45:00 GMT 2007


On Tue, Oct 09, 2007 at 08:22:45PM +0200, Ulrich Weigand wrote:
> At this point, there's no need to involve get_current_frame.  The
> routine operates on the current regcache, and should simply consult
> its architecture.

As a more general note, replacing one global state with another is of
limited value.  It's not completely useless, but let's avoid it when
we can :-)

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list