From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92134 invoked by alias); 28 Aug 2015 17:22:30 -0000 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 Received: (qmail 92123 invoked by uid 89); 28 Aug 2015 17:22:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp17.uk.ibm.com Received: from e06smtp17.uk.ibm.com (HELO e06smtp17.uk.ibm.com) (195.75.94.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 28 Aug 2015 17:22:28 +0000 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Aug 2015 18:22:23 +0100 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp17.uk.ibm.com (192.168.101.147) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 28 Aug 2015 18:22:20 +0100 X-MailFrom: uweigand@de.ibm.com X-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 824A11B0805F for ; Fri, 28 Aug 2015 18:23:52 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7SHMGmk12255268 for ; Fri, 28 Aug 2015 17:22:19 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7SHM7eN022986 for ; Fri, 28 Aug 2015 11:22:07 -0600 Received: from oc7340732750.ibm.com (icon-9-164-150-178.megacenter.de.ibm.com [9.164.150.178]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t7SHM6eG022823; Fri, 28 Aug 2015 11:22:06 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id D6FB98775; Fri, 28 Aug 2015 19:21:56 +0200 (CEST) Subject: Re: [PATCH] Remove only use of current_inferior ()->gdbarch outside of gdbarch.* To: xdje42@gmail.com (Doug Evans) Date: Fri, 28 Aug 2015 17:22:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (gdb-patches@sourceware.org) In-Reply-To: from "Doug Evans" at Aug 28, 2015 08:03:53 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150828172156.D6FB98775@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15082817-0029-0000-0000-000006214685 X-SW-Source: 2015-08/txt/msg00819.txt.bz2 Doug Evans wrote: > On Thu, Aug 27, 2015 at 10:15 PM, Doug Evans wrote: > > 2015-08-27 Doug Evans > > > > * ravenscar-thread.c (ravenscar_inferior_created): Replace > > current_inferior ()->gdbarch with its wrapper target_gdbarch. Just as a quick comment: this goes exactly into the opposite direction from what we discussed in the other thread. I think we should replace target_gdbarch () with current_inferior ()->gdbarch *everywhere*, instead of reverting that here ... Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com