From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26683 invoked by alias); 28 Mar 2004 22:37:32 -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 26674 invoked from network); 28 Mar 2004 22:37:31 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 28 Mar 2004 22:37:31 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 516542B9E; Sun, 28 Mar 2004 17:37:34 -0500 (EST) Message-ID: <406753AE.6090401@gnu.org> Date: Sun, 28 Mar 2004 22:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa/mips] Fix reread.exp on mips-linux References: <20040325015317.GA10143@nevyn.them.org> In-Reply-To: <20040325015317.GA10143@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00708.txt.bz2 > My goof, from two years or so ago. This is allocated on the objfile > obstack, and we stashed it in obj_private; but obj_private doesn't get > cleared. If we put it in the new objfile_data machinery like a good little > interface user, then it gets cleared at the right time. This prevents > segfaulting as soon as the executable changes. > > OK for head/6.1? Ok for mainline. For the moment sit on it for the branch. > - priv = (struct mips_objfile_private *) sec->objfile->obj_private; can something from this be ARIed? Andrew