From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6527 invoked by alias); 9 Oct 2007 18:34:31 -0000 Received: (qmail 6516 invoked by uid 22791); 9 Oct 2007 18:34:30 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Oct 2007 18:34:28 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A51BC98339; Tue, 9 Oct 2007 18:34:26 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B3CCD9829E; Tue, 9 Oct 2007 18:34:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IfJuS-0008O4-TD; Tue, 09 Oct 2007 14:34:24 -0400 Date: Tue, 09 Oct 2007 18:45:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: Markus Deuling , GDB Patches , Joel Brobecker , Maxim Grigoriev Subject: Re: [rfc] [0/8] Get rid of current_gdbarch Message-ID: <20071009183424.GA31971@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , Markus Deuling , GDB Patches , Joel Brobecker , Maxim Grigoriev References: <470B6819.1070903@de.ibm.com> <200710091822.l99IMjMk017593@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710091822.l99IMjMk017593@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00211.txt.bz2 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