From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17400 invoked by alias); 21 Mar 2002 02:16:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17359 invoked from network); 21 Mar 2002 02:16:06 -0000 Received: from unknown (HELO localhost.localdomain) (12.230.181.242) by sources.redhat.com with SMTP; 21 Mar 2002 02:16:06 -0000 Received: from there (DRAGON [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2L2FYY17286; Wed, 20 Mar 2002 18:15:34 -0800 Message-Id: <200203210215.g2L2FYY17286@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" From: "Martin M. Hunt" Organization: Red Hat Inc To: Andrew Cagney Subject: Re: [RFA] regcache fix Date: Wed, 20 Mar 2002 18:16:00 -0000 X-Mailer: KMail [version 1.3.2] Cc: gdb-patches@sources.redhat.com References: <200203200228.g2K2Sri16880@localhost.localdomain> <3C98F40E.1000500@cygnus.com> In-Reply-To: <3C98F40E.1000500@cygnus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-03/txt/msg00404.txt.bz2 Committed. On Wednesday 20 March 2002 12:41 pm, Andrew Cagney wrote: > > Currently build_regcache is called 3 times, once at initialization, > > before any architectures are registered, once when the host is > > registered and once when the target is registered. I don't see > > any reason for the first call, and in some non-multiarched > > targets it can cause core dumps. > > (the second time is for bfd's default architecture) > > Yep, ok! There is no longer a need to do this, and other similar, > calls. Will make understanding things a little bit easier. > > Thanks for testing this on non-multi-arch as well.